Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Empty field check?

Status
Not open for further replies.

strucnjak79

Programmer
Oct 14, 2005
37
BA
I want to add a control in my form, so when user click save data I need to check are all required fields not empty! I tried OnBeforePost, I make a control so I know are some field empty or not, but I don't know how to stop execution of that insert!? I'm using ADOTable component!

PLZ HELP!!!
 
If anyone has a same problem, solution is:

raise EAbort.Create('');


Cheers!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top