Home » Developer & Programmer » Forms » How to disable insert record button (Forms 6i)
How to disable insert record button [message #396722] Tue, 07 April 2009 17:18 Go to next message
jaki09
Messages: 11
Registered: March 2009
Junior Member
How to disable new record creation "+" for form window in 6i?

Thanks
Jaki

[Updated on: Tue, 07 April 2009 22:40] by Moderator

Report message to a moderator

Re: How to disable insert record button [message #396791 is a reply to message #396722] Wed, 08 April 2009 01:25 Go to previous messageGo to next message
Littlefoot
Messages: 20896
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
"+" is handled by the KEY-CREREC trigger; therefore, you might put something like this into the trigger:
message('You can not create new records');
raise form_trigger_failure;

Note that this does NOT restrict users from creating new records - it just doesn't allow them to do that by using the "+" icon.
Re: How to disable insert record button [message #396838 is a reply to message #396722] Wed, 08 April 2009 02:40 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Disable the insert property at the block level.

David
Previous Topic: Blocks synch
Next Topic: tree
Goto Forum:
  


Current Time: Tue Dec 06 04:11:34 CST 2016

Total time taken to generate the page: 0.09246 seconds