Not how to show a part of online data in a table in another table with even no column?
I need to display the data from certain rows in a table in another table with the same numbers of columns and main table must be disabled. Could someone advice how to do this? Data in the table are from the microprocessor and is intended the user can see and edit only some data.
If someone can show me some advice, it will be a great help.
Kind regards
Annemariehoeven
Disable a table: SetInputMode (panelHandle, controlID, 0); ('1' to re - activate).
Hide a table: SetCtrlAttribute (panelHandle, controlID, ATTR_VISIBLE, 0); ('1' to show it again).
These commands are valid for each type of control.
To extract values from the table, you can just use GetTableCellVal or GetTableCellRangeVals: If the range of cells has the same data type, you can use the second command which is faster; If the cells are different (for example digital and channels) you must solve each of them individually. The use of the Clipboard doesn't have this limitation.
Tags: NI Software
Similar Questions
-
How to create a table with two unique columns
How to create a table with two unique columns. I use the following syntax below and I get the error message such unique or primary key already exists.
create the table COPQ_WORKCELL_GOAL
(
Type_id varchar2 (4) NOT NULL UNIQUE,
Tyle_Location varchar2 (30) NOT NULL UNIQUE,
Type_Description varchar2 (20).
KEY elementary SCHOOL (Type_id)
);Use 1 or the other column type_id;
create table COPQ_WORKCELL_GOAL ( Type_id varchar2(4), Tyle_Location varchar2(30) NOT NULL UNIQUE, Type_Description varchar2(20), PRIMARY KEY (Type_id) ); Table created drop table COPQ_WORKCELL_GOAL; Table dropped create table COPQ_WORKCELL_GOAL ( Type_id varchar2(4) primary key, Tyle_Location varchar2(30) NOT NULL UNIQUE, Type_Description varchar2(20) ); Table created
-
How to export data from the table with the colouring of cells according to value.
Hi all
I use jdeveloper 11.1.1.6
I want to export data from the table with a lot of formatting. as for color cells based on value and so much. How to do this?
You can find us apache POI-http://poi.apache.org/
See this http://www.techartifact.com/blogs/2013/08/generate-excel-file-in-oracle-adf-using-apache-poi.html
-
How does show no cell in Essbase data?
I use BIEE 11.1.1.5 and Essbase 11.1.2.1. My Essbase cube cells were not given. For example, there is no data for 10/08/2011, which is a member of the Date dimension. BIEE doesn't remove these no data cell. But I want him to show. How to do this?Is very easy to make here... There is nothing major side OBIEE but you must ask your Essbase team member to fill a member is the cube essbase as 'ZEROVAL '. This will be similar to measures to actual spending, the Budget and everything, but has "0" as the value for all the data in #missing. Now, pull this ZEROVAL in RPD member and use your report as hidden collar. Make it show all the months of values even if the value is not there. This shows up as 0.
Value column zero - it is about the difficulty of removing the lines
OR just use workarnd a measure here say Budget that has data for all the rows and then hide it. It is just temp workarnd.
Hope it will be useful...
Published by: Deepak Gupta on August 16, 2011 01:54
-
How to INSERT a SELECT statement with a GROUP BY clause on a table with an IDENTITY column?
n an application, I intend to truncate and insertion on a 12 c Oracle database, but have found this problem with a
IDENTITY
column. Even if theINSERT... SELECT
statement works on mostSELECT
uses I tried, if this statement was also aGROUP BY
clause, it does not work, delivering a "ORA-00979: not aGROUP BY
expression ' complaint. Some examples of code:create table aux ( owner_name varchar2(20), pet varchar2(20) );
insert into aux values ('Scott', 'dog');
insert into aux values ('Mike', 'dog');
insert into aux values ('Mike', 'cat');
insert into aux values ('John', 'turtle');
create table T1 (
id number generated always as identity,
owner_name varchar2(20),
pet_count number );
select owner_name, count(*) as pet_count from aux group by owner_name; -- works just fine
insert into T1 (owner_name, pet_count) select owner_name, count(*) as pet_count from aux group by owner_name; -- doesn't work
The select statement works by itself, but it fails as an INSERT... SELECT statement.
Appreciate the help!
Looks like a bug. You must open the SR with Oracle. Meanwhile, you could materialize select:
SQL > insert into T1 (owner_name, pet_count)
2 with t as (select / * + materialize * / owner_name, count (*) as pet_count to the owner_name group)
3. Select owner_name, pet_count t
4.3 lines were created.
SQL > select * from t1;
ID OWNER_NAME PET_COUNT
---------- -------------------- ----------
1 John 1
Scott 2 1
3 Mike 2SQL >
Keep in mind index THAT MATERIALIZE is undocumented.
SY.
-
How publish data from the table with some data loss all post in the forum
I wonder how people are displayed the data in the table or the result of a query with losing them its format from Sqlplus display when they post in the forums of Oracle. I searched on the basis of knowledge of DB but I see no article about it. can you please help me or direct me to this link, I tried different options using code and other tags but nothing has worked, thank you for your help. Thank you.
Edited by: Ariean October 3, 2011 12:34You can click on the link to the FAQ at the top right: http://wikis.sun.com/display/Forums/Forums+FAQ.
-
How to maintain the synchronization of the hierarchy of the table with customer-specific data
Series of paintings in our system, we have:
Promotions (id, descr, datefrom, dateto,...)
PromotionClients (promotionId, clientId) = list of clients whose promotion is valid
PromotionProducts (promotionId, itemId) = list of products on sale
The synchronization logic is simply that all promotion tables must be synchronized just to the customers present in the PromotionClients table. So each select element for these tables of publication contains something like "... and there are (select 1 from c PromotionClients where c.clientId =: CLIENTID). It works fine until there are some changes in the PromotionClients table. After the change of PromotionClients table starts to sync, but other tables do not - there is in fact no updates on their respective folders.
Is there a solution to this problem other than to manually create the triggers for the PromotionClients table that would execute model-update on each related table? I mean - is there an existing function in OracleLite that woud let set a few references - to load to a point of publication/table?
And in the face of similar problem - there is also Promotions.datefrom/dateto limitation. Promotion tables must be synchronized at the time where actual date is between Promotions.datefrom and dateto. When someone modifies some of these values and so the promotion valid for the time related tables does not automatically update and so they do not start to synchronize. Just the Promotions table begins to synchronize. So we might need to implement another trigger to perform updates dummy on the tables of PromotionClients + products, Promotions.datefrom/dateto update.
I do not like the personalized relaxation approach - it just duplicates the synchronization logic and it is inconvenient to maintain the synchronization logic in two places (pubitem selects + custom triggers). I would like to find a solution of OL-native - as referring to load tables for each publication element that would cause triggers to OL to also catch the person in charge of the lines of tables (which were not actually modified) to be marked as dirty and synchronized to the client. Is there a solution like this? Or is there an alternative better than custom triggers?When you trigger an event in a related table, it gets registered for PGM compose the data in this table. If there is a suspicion, MGP will compose the data in these tables as well.
So if you have something like a REGION_MAPPING table that maps the users in various locations and if you change the table data and want other tables that are joined with him to compose the data, and then add a hint of dependency to the tables mapping them to REGION_MAPPING. If these tables is regularly updated and data are being composed for the child tables, then you don't need the trick, just good practice to add it.
-
How to load the large amount of data in 2 tables oracle ~ mill 6 lines-URGENT
Hi all
I have a file with lines of 6-8 million load us using a direct charge into a temporary table. Then we insert the missing data by research. The data in this temporary table are inserted/updated in table1.
for ex - we have:
Table1 (key1, key2, key3, key4, key5, col1, col2, col3)
Table2 (key1, key2, key3, col1, col2, col3) - the only diff between table1 and table2 is key4 and key5 (located in table 1).
First we insert/update data into temporary table table1.
Insertion: insert into table1
Select * from insert_table where (key1, key2, key3, key4, key5) IN
(select key1, key2, key3, key4, temporary_table key5
less
Select key1, key2, key3, key4, key5 from table1)
because me to (select all colulmns
of insert_table
less
Select all columns in table1)
loop
Update table1;
end loop;
Then we insert/update data into table2 from table1.
-the only difference in the insert/update is I use partiiton by making the sum of the columns non-cles and inserted the aggregated data in table2.
Insertion: insert into table2
Select key1...
sum (nonkey col) over (partition by key1, key2, key3)
FROM table1 where (key1, key2, key3) IN
(select key1, key2, key3 in table2
less
Select key1, key2, key3 in table1)
Update:
I'm in (select key1...
sum (nonkey col) over (partition by key1, key2, key3)
FROM table1 where (key1, key2, key3,) IN
(select key1, key2, key3 col1 in table2
less
Select col1, key1, key2, key3... from table1)
)
loop
Update table1;
end loop;
First we insert/update data into temporary table table1.
Insertion: insert into table1
Select * from insert_table where (key1, key2, key3, key4, key5) IN
(select key1, key2, key3, key4, temporary_table key5
less
Select key1, key2, key3, key4, key5 from table1)
because me to (select all colulmns
of insert_table
less
Select all columns in table1)
loop
Update table1;
end loop;
Data is loading properly - IF full charge. As the size of the file grows long OPS in Toad/Session browser - sorting becomes huge.
How can I improve the speed and make it better?You can consider using a single command to MERGE instead of your insert and the separate update loop if you're already on 9i.
In addition, you should consider generating statistics to a minimum on the insert_table using DBMS_STATS. GATHER_TABLE_STATS.
Kind regards
RandolfOracle related blog stuff:
http://Oracle-Randolf.blogspot.com/SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676 /.
http://sourceforge.NET/projects/SQLT-pp/ -
Hello
I ihave some data like the following below:
and I just want to show the words following the first - and before the 2nd.12332-ABASDFQAR-1313-132555-2323232-23232 1211111111-ATQTEWSHSDFDSDQG-342242-133333333-1111111113-111111111111-11111111 22223231-AWTWTWTWFAADADSGSSGSD-12333-21333-2222222222-111111-2222222223131 3232-ASDSDSGSGSGSRQRTWTWTWTW-31232-3232-1232-3333
How can I do this?
THX
Published by: Hendra.K on January 5, 2012 22:51Maybe
select col, substr(col,instr(col,'-',1,1) + 1,instr(col,'-',2,1) - instr(col,'-',1,1) - 1) x from t
Concerning
Etbin
-
Hello
Please let me know how to query the table and get the records that are less than the other column.
ID item_id item_type
3 1 r1
2 4 r2
1 5 r3
6 5 r4
I need to get all the lines in which item_id < id
o/p
ID item_id item_type
3 1 r1
6 5 r4
SELECT ID, ITEM_ID, ITEM_TYPE
Of
WHERE ITEM_ID<>
-
How to merge data from the table with a single line
Hello
I have three tables subscription_type, the address and the person. Here are the details of the table
Person Subscription_type Address
Person_Id AdressType_id Address_id
Person_name Description Address_type_id
Person_id
Address details
There are three types of different address - home, postal and previous.
Each person can have these three different addresses.
I want to create a view that displays all addresses of three of each person in the table of the person in a single line.
Any help please
In your example, there are 2 rows of columns street1, TOWN, SUBURB etc for a single person. To convert this into a single line, with the new columns we could simply use CASES or DECODE in the select as the SQL below. To understand why consolidation function THAT MAX is used - remove the MAX and GROUP BY in SQL keyword and try.
Select full_name
, max (case when description = "Home" then end street1) Home_Street
, max (case when description = "Home" then end suburb) home_suburb
, max (case when description = end of the "Home" then City) home_city
, max (case when description = "Home" then postal code end) home_postcode
, max (case when description = "Home" then end state_name) home_state
, max (case when description = 'Postal' then end street1) Postal_Street
, max (case when description = 'Postal' and then end of suburb) Postal_suburb
, max (case when description = 'Postal' then the city) Postal_city
, max (case when description = 'Postal' and then end of CP) Postal_postcode
, max (case when description = 'Postal' then state_name end) Postal_state
, max (case when description = "Back" then end street1) Prev_Street
, max (case when description = "Back" then end suburb) Prev_suburb
, max (case when description = "Back" then city end) Prev_city
, max (case when description = "Back" then postal code end) Prev_postcode
address a
S State
No p
Subscription_type att
where a.person_id = p.person_id
and a.state_id = s.state_id
and a.address_type_id = att.address_type_id
Full_name group
-
How to fill a table with marked text column?
I hate research and typing so I was wondering if there was a solution to the following problem.
I have a document that contains fault codes 5 characters in the body of the text (numbered steps). At the end of the document, I have a table which summarizes these codes: codes form a column and other columns contain information related to these codes (page number, area, action, criteria for vice etc.).
Is it possible for me to score codes such as I could all import them into the column of fault code?
I was leaning towards generating a list any and then paste it into the column, but I can't paste my list generated in several cells. FM will only allow me to paste the entire list into a single cell. Am I using the wrong approach or maybe missing a step between the two?
I suggest the second approach of the Arnis, especially if a specific code is
used in several places in the text. If so, you could make an INDEX of codes, instead of one
list, which gives you all the pages where each code appears (after each code). This avoids having to organize the list.
Van
-
How to create Table View with even a column name but another Table?
Hi all
I have the problem to create a tableview with the same column name, but in the other table.
Table I: -.
Table - PAC051MPROFORMA
Column - MNR, visitid
Table - PAC051TPROFORMA
Column - MNR, visitid
Table - PAC052MTRANSBILL
Column - MNR, visitid
Then, I want to create a table for this table. It comes to my SQL
Pacviewproforma CREATE VIEW (MNR, visitid, MNR, visitid, MNR, visitid)
Like some PAC051MPROFORMA.mrn, PAC051MPROFORMA.visitid, PAC051TPROFORMA.mrn, PAC051TPROFORMA.visitid, PAC052MTRANSBILL.mrn, PAC052MTRANSBILL.visitid
where
* (a.PAC051MPROFORMA.mrn = PAC051TPROFORMA.mrn) *.
and
* (a.PAC051TPROFORMA.mrn = PAC052TRANSBILL.mrn) *.
SQL return this error ORA-00957 =: duplicate column name
Can I change this SQL for
Pacviewproforma CREATE VIEW (MNR, visitid)
Like some PAC051MPROFORMA.mrn, PAC051MPROFORMA.visitid, PAC051TPROFORMA.mrn, PAC051TPROFORMA.visitid, PAC052MTRANSBILL.mrn, PAC052MTRANSBILL.visitid
where
* (a.PAC051MPROFORMA.mrn = PAC051TPROFORMA.mrn) *.
and
* (a.PAC051TPROFORMA.mrn = PAC052TRANSBILL.mrn) *.
This time this error return = ORA-01730: number of column names specified invalid
What should I do?
Thank you...Hello
SQL> CREATE VIEW pacviewproforma (mrn,visitid,mrn,visitid,mrn,visitid) 2 As Select 3 PAC051MPROFORMA.mrn, 4 PAC051MPROFORMA.visitid, 5 PAC051TPROFORMA.mrn, 6 PAC051TPROFORMA.visitid, 7 PAC052MTRANSBILL.mrn, 8 PAC052MTRANSBILL.visitid 9 from PAC051MPROFORMA,PAC051TPROFORMA,PAC052MTRANSBILL 10 where 11 (PAC051MPROFORMA.mrn=PAC051TPROFORMA.mrn) 12 and 13 (PAC051TPROFORMA.mrn=PAC052MTRANSBILL.mrn); CREATE VIEW pacviewproforma (mrn,visitid,mrn,visitid,mrn,visitid) * ERROR at line 1: ORA-00957: duplicate column name
Please give different names to each column.
Something like that...
SQL> CREATE OR REPLACE VIEW pacviewproforma (MPROFORMA_mrn,MPROFORMA_visitid,TPROFORMA_mrn,TPROFORMA _visitid,MTRANSBILL_mrn,MTRANSBILL_visitid) 2 As Select 3 PAC051MPROFORMA.mrn, 4 PAC051MPROFORMA.visitid, 5 PAC051TPROFORMA.mrn, 6 PAC051TPROFORMA.visitid, 7 PAC052MTRANSBILL.mrn, 8 PAC052MTRANSBILL.visitid 9 from PAC051MPROFORMA,PAC051TPROFORMA,PAC052MTRANSBILL 10 where 11 (PAC051MPROFORMA.mrn=PAC051TPROFORMA.mrn) 12 and 13 (PAC051TPROFORMA.mrn=PAC052MTRANSBILL.mrn); View created. SQL> DESC pacviewproforma; Name Null? Type ----------------------------------------- -------- ---------------------------- MPROFORMA_MRN NUMBER MPROFORMA_VISITID NUMBER TPROFORMA_MRN NUMBER TPROFORMA_VISITID NUMBER MTRANSBILL_MRN NUMBER MTRANSBILL_VISITID NUMBER
ORA-01730: number of column names specified invalid
The list of the nmae column you specified for the CREATE VIEW must correspond with the list of SELECTION in the view.
Twinkle
-
Extract the attribute name (s) (not) - how to?
version: 11.2.0.4 (standard no company)
context: determine all fragment a (e) xml attribute names.
Table ddl (just a shadow table for unit tests):
CREATE TABLE FAR_XML ( REQUIREMENT_ID NUMBER, FAR SYS.XMLTYPE ) XMLTYPE FAR STORE AS SECUREFILE BINARY XML
sample:
<F_A_REQ> <RULES> <VALUE KEY="FADEF_PRESENT"><![CDATA[E239]]></VALUE> <VALUE KEY="FADEF_SECTIONS"><![CDATA[1.2]]></VALUE> <VALUE KEY="FADEF_DEFINITION"><![CDATA[E257]]></VALUE> </RULES> </F_A_REQ>
question: How can I query a table with an xmltype column (not placed on a diagram) and derive what the KEY 'names' are for a single record?
desired output:
FADEF_PRESENT
FADEF_SECTIONS
FADEF_DEFINITION
Thanks in advance for any guidance.
-abe
For example:
SQL> select x.value_key 2 from far_xml t 3 , xmltable('/F_A_REQ/RULES/VALUE' 4 passing t.far 5 columns value_key varchar2(30) path '@KEY' 6 ) x 7 ; VALUE_KEY ------------------------------ FADEF_PRESENT FADEF_SECTIONS FADEF_DEFINITION
-
How to create a table with no lines to the left or to the right?
If I create a table with say 5 columns and 15 lines, how not to do a vertical line (border) to the left and to the right of the table while keeping the boundary up and down? Is that possible or I just put a white box on the left and the right?
IDCS3
There are a few methods that work. Here is one.
(1) select your table cells
(2) open the race Panel
3) click the blue lines of the proxy image in the Panel of stoke to deselect the lines inside and high and low lines
(4) 0 the value of the weight of the race (or change the color of the None swatch)
Oh and for the love of your fellow designers or the person that allows you to edit your work in the future... do NOT use a white box to hide the traits of lines and columns in the table.
HTH
-mt
Maybe you are looking for
-
When I'm on a website and it then attempts to open a new tab for additional information, the new tab appears for a few seconds, then disappears. He just started this recently. In the past, it is used to open the new tab and stay open. It does not mor
-
iPod is not not in iTunes on Windows 10
My iPod touch does not come to the top in iTunes devices when connected cable, tried different cables and check the drivers etc, all this so far. Any ideas?
-
Calculation of signal to noise ratio
Hello. I was wondering if it was possible to calculate the SNR of a signal with LabView? I use a DAQ hardware and an accelometer to measure a force. Is that being said, possible to calculate SNR by looking at the graph of spectrum or vague? When ther
-
I URGENTLY NEED HELP ON MY G4 1105TX NEWLY PURCHASED
I bought a new HP G4 1105TX a week ago and when im watching movies and or my mobile multi-tasking crash me leaving no other choice to stop it completely via the Start button. on ite 7th time same thing happen and I caught on video, go to the store wh
-
COMPUTER HP - EAST RECENTLY RETURNED TO WIN 7 OF WIN 10 UPDATE. I should stay with 7. I SHOULD STAY WITH 7! Back to Win7 was easy, I thought. But just wait until you try to back up your files. Error code #0 x 80041321. Windows says that I have no r