Wrox Home  
Search P2P Archive for: Go

  Return to Index  

sql_language thread: Re: Heeeeeeeeeeeeeeeeeeelp with sql statement error


Message #1 by "Joern Saischek" <joern.saischek@c...> on Tue, 18 Jul 2000 8:57:7
Without the error message it is difficult to say.
Something I often have to check is the type of data.

i.e.
it is good practice to convert the variable into the format the database 
needs:

INSERT INTO ....
VALUES '" & CStr(password) & '"," & CInt(phone) ....

Or you surrounded a number with ' ', the database won't like it.

Hope this helps

Joern

  Return to Index