G
Guest
Hi all
Part of my application allows users to edit a pre-generated SQL statement
and then uses this as the source of a list box control. However, I have
noticed that if the SQL statement contains a syntax error no warning or error
is generated and the list box just displays 0 rows. This can obviously lead
a user to think there is no data that meets the query criteria. Is there a
way of checking the SQL statement to ensure that it is correct so that it can
be handled if it isn't?
Thanks
Andy
Part of my application allows users to edit a pre-generated SQL statement
and then uses this as the source of a list box control. However, I have
noticed that if the SQL statement contains a syntax error no warning or error
is generated and the list box just displays 0 rows. This can obviously lead
a user to think there is no data that meets the query criteria. Is there a
way of checking the SQL statement to ensure that it is correct so that it can
be handled if it isn't?
Thanks
Andy