Home » Developer & Programmer » Forms » user should not be allowed to exit the form until all the block is entered
user should not be allowed to exit the form until all the block is entered [message #78956] Sat, 06 April 2002 18:25 Go to next message
ayaz
Messages: 4
Registered: April 2002
Junior Member
Actually I am working on a project where I have 3 tab pages in a form each having its own block and there is save button on each page.All 3 pages are linked to different tables in database.I want that user should not be allowed to exit the form until all the block is entered.Please help me soon..So I can proceed with my project
Thanks!!
Re: user should not be allowed to exit the form until all the block is entered [message #78959 is a reply to message #78956] Mon, 08 April 2002 02:59 Go to previous message
nik
Messages: 55
Registered: January 2002
Member
try coding an on-exit trigger on each block (or tab)

if :block.field is null then
message('Must enter fields before exit');
raise form_trigger_failure
else
exit_form;
end if;

this should achieve what u want.

nik.
Previous Topic: Dynamic specification of Table and Field
Next Topic: Search File to get a File path
Goto Forum:
  


Current Time: Thu Apr 18 12:16:19 CDT 2024