Home » Developer & Programmer » Forms » determine mode
determine mode [message #168042] Tue, 18 April 2006 09:15 Go to next message
emadbsb
Messages: 334
Registered: May 2005
Location: egypt
Senior Member

hii all

i want to determine the modes that my form is running
i mean i want to determine a status (mode) for my form
if i am in insert mode or delete mode or update mode

if these modes are not shown how can i represent them?

Thanks for everyone helped and helping me

[Updated on: Tue, 18 April 2006 09:37]

Report message to a moderator

Re: determine mode [message #168108 is a reply to message #168042] Tue, 18 April 2006 19:41 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Mode is indeed 'status' and can be found via the get_block_property(status), get_record_property(status), and system.mode commands. There are three values 'NEW', 'CHANGED', and 'QUERY' at the block level, four values 'NEW', 'CHANGED', 'QUERY' and 'INSERT' at the record level, and three at the form level 'NORMAL', 'ENTER-QUERY', and 'QUERY'.

David
Previous Topic: Pl/SQl codes for Exit form & Import/Export data
Next Topic: lock delete or update or insert
Goto Forum:
  


Current Time: Fri Sep 20 09:55:53 CDT 2024