Need to make my forms Read Only [message #551984] |
Mon, 23 April 2012 01:49 |
maggy_ashee
Messages: 70 Registered: May 2007
|
Member |
|
|
Hi Team,
When I log Responsibility 'AAA', I need all my forms/some of my forms to Open in 'Read Only' mode. Can you please suggest me some idea to acheive this functionality.
Thanks
|
|
|
Re: Need to make my forms Read Only [message #551998 is a reply to message #551984] |
Mon, 23 April 2012 02:14 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
I don't know how Oracle Apps. does that, but pure Forms have several options.
One is to call a form using its QUERY_ONLY parameter. For example, URL would look like this:http://myserver/forms90/f90servlet?form=MODULE1.fmx&query_only=YES
Or, if you use CALL_FORM, include QUERY_ONLY parameter:CALL_FORM('empbrowser', no_hide, no_replace, query_only);
Or, in WHEN-NEW-FORM-INSTANCE trigger, use SET_BLOCK_PROPERTY and set INSERT_ALLOWED, UPDATE_ALLOWED and DELETE_ALLOWED to FALSE:Set_Block_Property('your_block', INSERT_ALLOWED, PROPERTY_FALSE);
|
|
|
|
|
|
|