view mode in forms 10g [message #303414] |
Fri, 29 February 2008 05:03 |
msrahman
Messages: 6 Registered: February 2008 Location: Pakistan
|
Junior Member |
|
|
hi, I created a master/ detail form in developer 10g.
the problem is that, on new form instance master block remains in view mode but detail block not.
how can i solve this problem.
|
|
|
|
Re: view mode in forms 10g [message #303591 is a reply to message #303455] |
Fri, 29 February 2008 23:38 |
msrahman
Messages: 6 Registered: February 2008 Location: Pakistan
|
Junior Member |
|
|
dear i just want view mode on when-new-form--instance .
for that i write :GLOBAL.MODE := 'VIEW'; and then execute query.
It works in 6i but not in 10g.
|
|
|
|
|
|
|
Re: view mode in forms 10g [message #303646 is a reply to message #303642] |
Sat, 01 March 2008 07:36 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
What kind of functionality is this?
If you want your users to view data, OK. If you want them to modify (or insert new) records, fine.
But these two are opposite; where's the purpose in restricting something, but still allowing it?
What you might do is to use SET_ITEM_PROPERTY and disable all items; pressing the "Edit" or "Insert" button (if that's what you have), use the same built-in to enable items and allow updating and/or inserting.
|
|
|