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!

datawindow error prompt

Status
Not open for further replies.

Rottdpogs

IS-IT--Management
Jul 17, 2001
86
CN
please advice.
how can i prevent the prompting of the error message in datawindow.
ex. sqlstate = 37000 ....
Does anybody know how to distinguish if the sql is valid or invalid.
Thanks in advance.
 
You can use the SyntaxFromSQL method which returns an empty string if an error occurs. Check the online help for particulars.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top