Delete excel table column
I have an excel templpate that contains a table that is already formatted with lots of formulas and colroed celss, etc. Depending on the query that I run with labview, I produce a data result that is exported to excel and then I want to resize teh excel table to fit the data. I want to resize a table with activex commands in labview. How do I do this?
Solved!
Go to Solution.
Please see attached excel worksheet to see the table that I am asking about. It has a simple table but explains what I need to do in comments below it....
Attachments:
Excel Table.xlsx 11 KB
Similar Messages
-
ADF Desktop Integration : How to delete the table in Excel?
Hi,
I am using Jdev 11.1.1.3.0 and Excel 2007 for Oracle ADF DI, I had created an ADF table using pageDef file in the excel. Now I wanted to delete that table and use a different pageDef file.
I could not find a way to delete that table.
I deleted full row of tables and then I used different pageDef file and created a new adf table. But when I am running this version of excel, I am getting runtime exception and excel is getting corrupted.
My question how to delete the table not corrupting the Excel.
Thanks
PavanPavan,,
Welcome to OTN.
You can delete the table by selecting the top left column (of the table) and then select delete from the ADFdi tab.
Refer the documentation for more info.
http://docs.oracle.com/cd/E17904_01/web.1111/e10139/get_start_dev_tools.htm#ADFDI608
-Arun -
How to delete a virtual column in a table
Is it possible to delete a virtual column in a table. Please give the complete syntax to help do it
Like this...
SQL> select * from dept;
DEPTNO DNAME LOC
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
SQL> alter table dept add (sal as (deptno*10));
Table altered.
SQL> select * from dept;
DEPTNO DNAME LOC SAL
10 ACCOUNTING NEW YORK 100
20 RESEARCH DALLAS 200
30 SALES CHICAGO 300
40 OPERATIONS BOSTON 400
SQL> alter table dept drop (sal);
Table altered.
SQL> select * from dept;
DEPTNO DNAME LOC
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON -
Export data to excel and table column headers
I noticed that with LV 2012 when I call the method "Export Data to Excel" for a table, the table headers (= column names) are not exported to excel.
Am I right? I think that the column names should be exported too...
As a matter of fact when you call the method "Export to simplified image" the column names are included
How can I export the table column names to excel?
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP EmbeddedIn this document there is a full description of how to export data from LabVIEW to Excel.
Using a table, the method "Export data to excel" should export the "currently selected data", and data can be programmatically selected using ActiveCell property (as described here).
With ActiveCell I can select the column headers too (using negative numbers for row and/or column), and I do this.
And so I expect that when I select "Export data to Excel", the column headers should be exported too (because I selected them!).
I think that the actual behavior is a bug, rather that an expected behavior.
Don't you agree?
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP Embedded -
Delete extra spaces in table column
hi how can i delete extra spaces in table column for example if table column value is store as 'ÄAAAAA ' how can i delete that extra space
this is the column i what to delete extra spaces
select SUBTYPES from tablesubtype;am in
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Solaris: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
Edited by: adf0994 on 2012/12/03 11:30 AM
Edited by: adf0994 on 2012/12/03 11:42 AMUPDATE tablesubtype
SET SUBTYPES = TRIM (SUBTYPES);Doing RTRIM alone will not suffice coz it'll only remove Right Spaces and NOT Left ones.
I guess, in your case doing a TRIM will be more beneficial to be safe and prevent any left spaces in future.
For intermediate spaces... try this.
UPDATE tablesubtype
SET SUBTYPES = REGEXP_REPLACE (SUBTYPES, ' ', '');Hope this Helps,
Ranit B.
Edited by: ranit B on Dec 3, 2012 2:33 PM
-- added regexp -
Excel tables... columns and row formatting after I update the indesign page
When my excel table gets updated in indesign I lose formatting (hight/wide) for the columns&rows. There are 26 columns and each one is a difference size. Do I have to formatting (hight&wide) each column and row every time the excel table is updated?
We have many publications with statistical tables, which are done in excel. We want to try to do some publications with only tables and do it in-house. The problem is when we place the table in indesign and finish formatting the table. We will get a updated table that needs to be updated in indesign. But when we do we update we lose all of the indesign formatting. Fixing the fonts, type size, etc is easy but how do we get back the all column widths.
-
Map excel columns to oracle table column using forms 6i
Hello,
I am importing data from excel to oracle table using oracle forms 6i.
Suppose my table have 3 columns id, name,sal. The excel sheet i am importing having
3 or more colums, also excel sheet columns are not in order as per table columns.
i.e my table have id, name, sal
and excel have name, sal, id
my question is how can i map excel colums with table colums and insert it into table.
I am using oracle 6i forms (ole2 package).
ThanksWhat was wrong with the first answer to the same question?
Re: map excel columns on oracle forms and insert it into database -
How to not make Tables, Column and Data Available in Excel
Goal:
Not displaying the dimension table and its data in excel
Problem:
I was enable to deny access for the user roles in SSAS about denying access the data from the column but the next thing is that I do not know how dimension table and column not to be available in the excel.
Information:
*The datasource is SSAS
*I have made three user to have access to two tables only.Hi Sakura,
According to your description, you want the Manager role can see all dimension table and its data column. And the Employee role can't view all table, column and data, right? Currently we don't have a direct option to complete hide the dimensions or attributes
to some roles. However you can use workarounds below.
Using cube perspectives and hide the cube dimension attribute then set the perspectives to role.
Perspectives
Use this workaround discussed in the similar thread below.
Dimension attribute security to hide or unhide an attribute
based on certain condition
Hope this helps.
Regards,
Charlie Liao
TechNet Community Support -
SQLLDR table column- excel column mapping
CREATE TABLE "DW"."ABC"
( "SKILL_NAME" VARCHAR2(60 BYTE) NOT NULL ENABLE,
"SKILL_TYPE" VARCHAR2(20 BYTE),
"DAILY_DATE" DATE NOT NULL ENABLE,
"SCC_NAME" VARCHAR2(60 BYTE),
"RFS_FORECAST" NUMBER(8,0),
"FORECASTED_CALLS" NUMBER(8,0),
"TOTAL_CALLS_ANSWERED" NUMBER(8,0)
This is a table.
FOllowing are excel columns
Date RFS Forecast FORECASTED CALLS TOTAL CALLS ANSWERED
Control file is the following
load data
CHARACTERSET UTF16
infile 'D:\CSVs\4cols.csv'
into table
"ABC"
fields terminated by "," optionally enclosed by '"'
SKILL_NAME CONSTANT 'FM',
SKILL_TYPE CONSTANT 'CLIENT',
DAILY_DATE,
SCC_NAME CONSTANT NULL,
RFS_FORECAST,
FORECASTED_CALLS,
TOTAL_CALLS_ANSWERED)
how to associate the table columns with excel columns.....
and if the first row of the excel is the header how to specify thatECXEL DATA
Date RFS Forecast FORECASTED CALLS TOTAL CALLS ANSWERED TOTAL CALLS ABANDONED OUTBOUND CALLS MAX DELAYS >5 mins FORECASTED ASA
1-Apr-11 3,215 2,702 2,561 86 3,552 11 :30
2-Apr-11 1,888 1,374 1,232 27 1,782 6 :30
3-Apr-11 1,479 1,392 956 33 1,363 5 :30
4-Apr-11 3,423 3,290 2,970 102 3,519 8 :30
5-Apr-11 3,385 2,972 2,703 89 4,117 9 :30
6-Apr-11 3,350 2,856 2,444 101 3,997 8 :30
7-Apr-11 3,218 2,776 2,525 68 4,150 6 :30
8-Apr-11 3,217 2,693 2,564 64 3,792 5 :30
9-Apr-11 1,845 1,320 1,379 39 1,979 3 :30
10-Apr-11 1,481 1,290 1,079 32 1,784 5 :30
11-Apr-11 3,421 3,290 3,164 130 3,701 18 :30
12-Apr-11 3,474 2,978 2,835 107 4,518 15 :30
13-Apr-11 3,521 2,799 2,606 64 4,614 4 :30
14-Apr-11 3,255 2,701 2,658 52 4,830 3 :30
15-Apr-11 3,093 2,699 2,578 68 4,733 3 :30
16-Apr-11 1,821 1,301 1,406 26 2,959 5 :30
17-Apr-11 1,460 1,277 1,137 16 2,111 4 :30
18-Apr-11 3,568 3,191 3,074 84 4,253 17 :30
19-Apr-11 3,322 2,902 2,805 78 5,078 16 :30
20-Apr-11 3,476 2,789 2,570 71 4,707 14 :30
21-Apr-11 3,288 2,599 2,638 75 5,028 7 :30
22-Apr-11 3,216 2,635 2,333 66 4,495 10 :30
23-Apr-11 1,785 1,342 1,321 33 2,394 3 :30
24-Apr-11 1,508 1,275 922 33 1,332 3 :30
25-Apr-11 3,509 3,199 3,021 107 3,943 14 :30
26-Apr-11 3,424 2,985 2,817 84 4,580 11 :30
27-Apr-11 3,532 2,888 2,738 71 4,343 6 :30
28-Apr-11 3,344 2,776 2,720 68 4,176 8 :30
29-Apr-11 3,167 2,598 2,597 81 3,639 10 :30
30-Apr-11 1,805 1,291 1,198 23 2,092 4 :30
CSV Data
Date ,RFS Forecast, FORECASTED CALLS , TOTAL CALLS ANSWERED , TOTAL CALLS ABANDONED ,OUTBOUND CALLS,MAX DELAYS >5 mins, FORECASTED ASA ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1-Apr-11,"3,215","2,702","2,561",86,"3,552",11,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
2-Apr-11,"1,888","1,374","1,232",27,"1,782",6,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
3-Apr-11,"1,479","1,392",956,33,"1,363",5,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
4-Apr-11,"3,423","3,290","2,970",102,"3,519",8,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
5-Apr-11,"3,385","2,972","2,703",89,"4,117",9,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
6-Apr-11,"3,350","2,856","2,444",101,"3,997",8,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
7-Apr-11,"3,218","2,776","2,525",68,"4,150",6,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
8-Apr-11,"3,217","2,693","2,564",64,"3,792",5,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
9-Apr-11,"1,845","1,320","1,379",39,"1,979",3,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
10-Apr-11,"1,481","1,290","1,079",32,"1,784",5,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
11-Apr-11,"3,421","3,290","3,164",130,"3,701",18,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
12-Apr-11,"3,474","2,978","2,835",107,"4,518",15,:30,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
13-Apr-11,"3,521","2,799","2,606",64,"4,614",4,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
14-Apr-11,"3,255","2,701","2,658",52,"4,830",3,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
15-Apr-11,"3,093","2,699","2,578",68,"4,733",3,:30,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
16-Apr-11,"1,821","1,301","1,406",26,"2,959",5,:30
17-Apr-11,"1,460","1,277","1,137",16,"2,111",4,:30
18-Apr-11,"3,568","3,191","3,074",84,"4,253",17,:30
19-Apr-11,"3,322","2,902","2,805",78,"5,078",16,:30
20-Apr-11,"3,476","2,789","2,570",71,"4,707",14,:30
21-Apr-11,"3,288","2,599","2,638",75,"5,028",7,:30
22-Apr-11,"3,216","2,635","2,333",66,"4,495",10,:30
23-Apr-11,"1,785","1,342","1,321",33,"2,394",3,:30
24-Apr-11,"1,508","1,275",922,33,"1,332",3,:30
25-Apr-11,"3,509","3,199","3,021",107,"3,943",14,:30
26-Apr-11,"3,424","2,985","2,817",84,"4,580",11,:30
27-Apr-11,"3,532","2,888","2,738",71,"4,343",6,:30
28-Apr-11,"3,344","2,776","2,720",68,"4,176",8,:30
29-Apr-11,"3,167","2,598","2,597",81,"3,639",10,:30
30-Apr-11,"1,805","1,291","1,198",23,"2,092",4,:30
CREATE TABLE ABC
SKILL_NAME VARCHAR2(100),
SKILL_TYPE VARCHAR2(100),
SCC_NAME VARCHAR2(100),
DAILY_DATE DATE,
RFS_FORECAST NUMBER(10),
FORECASTED_CALLS NUMBER(10),
TOTAL_CALLS_ANSWERED NUMBER(10),
TOTAL_CALLS_ABANDONED NUMBER(10),
OUTBOUND_CALLS NUMBER(10),
MAX_DELAYS_5_MINS NUMBER(10),
FORECASTED_ASA DATE)
Edited by: :) on Jul 15, 2011 8:04 AM -
How to set a Excel-like column-Filtering in the Table Header using swings
I am currently working on the Database applications.Where i need to do column filter in the header field of the jTable, (i.e i need to keep a button in the Column header and when i click the button, it should pop-up a jList which has a unique values of the entire column. when i select that value it will show corresponding rows in the jTable). Can anyone pls help me....
Thanks
KarthikYou can [get the table column header|http://java.sun.com/javase/6/docs/api/javax/swing/JTable.html#getTableHeader()] and add a mouse listener to it which waits for a popup menu trigger to display a popup menu.
In that popup menu, you can display a list which contains the unique values of the column which was clicked on. Once a value is
selected, you can filter the rows using that value. -
How do I delete part of a column without deleting the whole column
I'm trying to deleting certain cells within the same column but I don't know how without deleting the entire column. It sounds so simple but I'm sure I'm overlooking something. Thanks.
jackiego26 wrote:
Bummer! Thought there would be something similar to Excel.
Excel describes this in different terms, and the Excel user goes through a different set of steps, but the reality is that in Excel as in Numbers you are shifting content from one set of cells to another, not 'deleting cells'.
If you were actually 'deleting cells' from rows 2-11 of a column, then shifting all cells right of the deleted cells into the space left by the 'deleted' cells, one of the results would be that at the right edge of the table, rows 2 through 11 would end one column 'earlier' than the rest of the rows (from which 'cells' had NOT been deleted.
Excel: Select the cells whose content is to be replaced, tell Excel to 'delete cells'. Tell Excel which direction to move content to fill the cells. Excel moves that content into the emptied cells.
Numbers (method 1): Select the cells whose content is to be moved. Copy. Select the first cell that is to receive the content. Paste.
Numbers (method 1a): Select the cells whose content is to be moved. Drag the content to the first cell that is to receive the content. Drop.
Numbers (method 2): Select the cells whose content is to be moved. Press shift-command-X (or go Edit > Mark for Move. Select the first cell to receive the content. Press Shift-command-V (or go Edit > Move.
Regards,
Barry -
Excel Table with Data Connection Manual Text Entry Misaligned After Refresh
Greetings!
I have an Excel 2010 workbook that includes a table linked to my SharePoint 2013 site by a data connection. The SharePoint list feeds the table standard information that's managed on the SharePoint site, but I need the user of the Excel workbook to be able
to enter text manually in the workbook to associate local information with the line-items coming from the SharePoint list. To do this, I've added extra columns to the end of the table.
The user can enter information in the appropriate cells in the "extra" columns at the end of the table, but when I refresh the data connection, the addition of a new list item on the SharePoint side results in the user's manually entered text getting
out of alignment with the row it's supposed to be associated with.
Example
Column 1(SP)
Column 2(Extra)
Row 1
Item 1
Row 2
Item 2
Text entered for Item 2
Row 3
Item 3
Then, if I add a new item to the list in SharePoint, for example, something that would appear between the original items 1 & 2, after refreshing the table, I get the following:
Column 1(SP)
Column 2(Extra)
Row 1
Item 1
Row 2
New Item 1.5
Text entered for Item 2
Row 3
Item 2
Row 4
Item 3
The table's data connection is set to insert rows for new items, and I could swear I had this working properly once upon a time...but I can't seem to make it work now.
Any thoughts on what would cause this?
Thanks in advance!Yes, it is. I realized after posting the first time, that I'd assigned the question to the Visio forum. I wasn't sure how to reassign to the correct (Excel) forum, so I re-posted over there:
http://social.msdn.microsoft.com/Forums/en-US/b3bbe00c-94c0-48d4-bed9-fbd08d707b1d/excel-table-with-sharepoint-data-connection-manual-text-entry-misaligned-after-refresh?forum=exceldev -
How to delete a table row in the context?
Hi,
I've got a table in my context that I access with <TABLE-NAME>-<TABLE-COLUMN>[index].
For example <TABLE-NAME>-<TABLE-COLUMN>.dim delivers the amount of entries in this table.
Now I want to delete a specific row in this table without any ABAP-code. Is there a possibility to do this?
I tried to set the .dim = <old dimvalue - 1>, but the row seems to still exist, it's just empty.
There must be a method like 'delete', or am I wrong...?
kr, achimAlexander,
could you provide an example please?
for example, if I have a code like this:
`repeat j from 1 to MYTABLE-MYCOLUMN1.dim`
MYTABLE-MYCOLUMN1[j] = "value1";
MYTABLE-MYCOLUMN2[j] = "value2";
`end`
and now assume, I want to delete the last row of the table, what would it look like?
`MYTABLE.deleteValue(MYCOLUMN1, j)` ???
kind regards, achim -
How to find out when data was deleted from table in oracle and Who deleted that
HI Experts,
Help me for below query:
how to find out when data was deleted from table in oracle and Who deleted that ?
I did that to fidn out some data from dba_tab_modifications, but I m not sure that what timestamp shows, wether it shows for update,insert or delete time ?
SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES,TIMESTAMP,DROP_SEGMENTS,TRUNCATED from dba_tab_modifications where TABLE_NAME='F9001';
TABLE_OWNER TABLE_NAME INSERTS UPDATES DELETES TIMESTAMP DROP_SEGMENTS TRU
PRODCTL F9001 1683 46 2171 11-12-13 18:23:39 0 NO
Audit is enable in my enviroment?
customer is facing the issue and data missing in the table and I told him that yes there is a delete at 11-12-13 18:23:39 in table after seeing the DELETS column and timestamp in dba_tab_modifications, but not sure I am right or not
SQL> show parameter audit
NAME TYPE VALUE
audit_file_dest string /oracle/admin/pbowe/adump
audit_sys_operations boolean TRUE
audit_syslog_level string
audit_trail string DB, EXTENDED
please help
Thanks
SamLOGMiner --> Using LogMiner to Analyze Redo Log Files
AUDIT --> Configuring and Administering Auditing -
Trigger how to get new and old value for nested table column?
Hi,
I have created a nested table based on the following details:
CREATE TYPE typ_item AS OBJECT --create object
(prodid NUMBER(5),
price NUMBER(7,2) )
CREATE TYPE typ_item_nst -- define nested table type
AS TABLE OF typ_item
CREATE TABLE pOrder ( -- create database table
ordid NUMBER(5),
supplier NUMBER(5),
requester NUMBER(4),
ordered DATE,
items typ_item_nst)
NESTED TABLE items STORE AS item_stor_tab
INSERT INTO pOrder
VALUES (800, 80, 8000, sysdate,
typ_item_nst (typ_item (88, 888)));
Now I would like to create a trigger on table pOrder for after insert or update or delete
and I would like to track the new and old value for the columns inside nested table.
Can anybody direct me how to do it?
I would like to know the sytax for it like:
declare
x number;
begin
x := :new.nestedtablecolumn;--how to get the new and old value from nested table columns
end;
Hope my question is clear.
Thanks,
LavanHi,
Try like this:
CREATE OR REPLACE TRIGGER PORDER_I
BEFORE INSERT
ON PORDER
REFERENCING OLD AS old NEW AS new
FOR EACH ROW
DECLARE
items_new typ_item_nst;
ordid_NEW NUMBER;
BEGIN
FOR i IN :new.items.FIRST .. :new.items.LAST LOOP -- For first to last element
DBMS_OUTPUT.PUT_LINE(':new.items(' || I || ').prodid: ' || :new.items(I).prodid );
DBMS_OUTPUT.PUT_LINE(':new.items(' || I || ').price: ' || :new.items(I).price );
END LOOP;
END;Regards,
Peter
Maybe you are looking for
-
Document Viewer: Show document inplace using "view_document_from_table"
Hello, i am trying to show a pdf-document on a dynpro using i_io_document_viewer. As long as I don't activate "show_inplace", it works fine. The document is correctly shown in an external browser window. So the parameters i export seem to be allright
-
Oracle 10g patch 10.0.2.1.0
Hi We are planning to install the patch 10.0.2.1.0 to DB server. Currect status haven't install any patch on development DB. Any different after update the patch? What should I pay attention? before or after upgrade? and Should I also upgrade the ora
-
32" HD Display MacBook "Unsupported"
ok so i was using my new tv as a display with macbook open and it works fine r(1024 x 768), but when shut the macbook and try and use clamshell mode i get an Unsupported msg on the main screen. im using mini dvi to vga will switching to mini dvi to d
-
Error message "Can't Publish" iPad 4 video to YouTube
Have the latest iPad (4?) and cannot load two videos I shot with it. Length of he videos are 12 minutes and 7 minutes.
-
Unable to start/stop Personal Web Sharing
I do some web development, so I tried making the necessary changes to run PHP files via localhost. I followed various online articles by making some changes to the httpd.conf file, and then downloading MySQL and a later version of PHP (5.0). Since in