Home » Developer & Programmer » Forms » To Restrict Record Deletion (Forms 6i)
To Restrict Record Deletion [message #530188] Sun, 06 November 2011 08:19 Go to next message
sivaora
Messages: 119
Registered: October 2009
Location: Hyderabad
Senior Member
When i opened the form and after querying the records if I press CTL+ Down Arrow the record is deleted.
This is the normal runtime form behavior. When ever pressing CTL+ Down arrow I don't want to delete the record, I tried with KEY-DELREC but it is not happening.
Please help me on this
Re: To Restrict Record Deletion [message #530189 is a reply to message #530188] Sun, 06 November 2011 08:24 Go to previous messageGo to next message
sivaora
Messages: 119
Registered: October 2009
Location: Hyderabad
Senior Member
I am sorry, it is working by KEY-DELREC. Please ignore it.

And i want to restrict creating a new record while pressing CTL+ Up Arrow.
Please help me on this
Re: To Restrict Record Deletion [message #530193 is a reply to message #530189] Sun, 06 November 2011 12:47 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
"Restrict" to what? Forbid it completely? Set KEY-CREREC trigger to NULL.
Re: To Restrict Record Deletion [message #530270 is a reply to message #530188] Mon, 07 November 2011 07:54 Go to previous message
sivaora
Messages: 119
Registered: October 2009
Location: Hyderabad
Senior Member
Yes i dont want to create the new record.
Thanks, i did it by creating KEY_CREREC.
Previous Topic: dynamic where condition using set_block_property
Next Topic: Cursor Navigation
Goto Forum:
  


Current Time: Sat Sep 07 12:55:49 CDT 2024