.........oracle forms. error [message #135961] |
Mon, 05 September 2005 02:43 |
orcl_dba
Messages: 84 Registered: March 2005
|
Member |
|
|
hi ppl sorry to disturb you all again.
I have a specific requirement.
I have a table with around 20 fields named Site.
what i want to do is that ive created a datablock Site.
and place items on a canvas named C1. I have placed onyly 10 items . i want to give a small button on that canvas C1, so that whenver user press that button , a new canvas opens which contains other 10 fields of the table Site.
this is becuase, only 10 major fields are used normally, while other 10 are used rarely.
I created another canvas c2, with datablock set to same"SITe"
and the window of the canvas is same as window1
i made C1 as primary canvas for that window.
then behind the button on C1 i wrote.
set_view_proporty('c2','visible',property_true);
When i run the forms, everytime only C1 is seen and when i press btton it returns error Frm40735 and ora 06502
I made C2 as primary canvas of this window and try to run the f orm but strange thing is that it always oopens C1 in front of me first.
What to do.. kinldy reply urgent..
BR
|
|
|
|
Re: .........oracle forms. error [message #136063 is a reply to message #135972] |
Mon, 05 September 2005 20:13 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
DO NOT USE a different block for the second canvas. Use the one block only. Now for the alternatives concerning canvases. Try either 'tabs', or a 'sliding canvas', or a pop-up 'detail' canvas (in a separate window) that contains the extra ten fields for only the current record.
David
|
|
|