VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

SQLFix

Jeremy H  (1 Submission)   Databases/Data Access/DAO/ADO   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

Corrects for reserved SQL characters in SQL queries. This will correct your SQL statement if an apostrophe or 'pipe' character is in the SQL query. It is a better fix than the SQL functions which replace ' with '' because those will actually still fail in certain situations (such as in FindFirst commands).

Inputs
Bad SQL statement as string

Returns
Proper SQL Statement as string

Rate SQLFix (2(2 Vote))
SQLFix.bas

SQLFix Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters