Data Block items- duplicates for one column? [message #171537] |
Wed, 10 May 2006 06:42  |
SaraC
Messages: 81 Registered: August 2005
|
Member |
|
|
Hi
I have a data block that reads from a database table.
I want to have the data from one of the table columns in 2 of the items on screen (one is hidden) so that I can uhave historical data for comparing data when updates occur. Is this possible
or will I have to create a view on the table, selecting the column twice in the select list?
I have just used the same column in both at the moment but when it tries to do the update I get ORA-00957: duplicate column name
error on the UPDATE statement. Is there anything I can do to bypass this e.g a property or something...
Thanks
[Updated on: Wed, 10 May 2006 07:06] Report message to a moderator
|
|
|
|
Re: Data Block items- duplicates for one column? [message #171566 is a reply to message #171537] |
Wed, 10 May 2006 07:16   |
SaraC
Messages: 81 Registered: August 2005
|
Member |
|
|
Have tried something and think it works - well get other errors but seems to miss this error.
Have made the hidden row a non- database item. Then a post_query trigger copies the database item into the non database item :TAG_XREF.ORIG_START := :TAG_XREF.START_DATE;
Assuming that this will copy for all rows that my query retrieves - is that correct?
|
|
|
|
|