Problem in sending strings with spaces from to execute an MS Access query

strings values with spaces , ms access query , asp.net , vb active x dll India
  • 12 years ago
    Hi I have an ASP.Net website which consumes a VB active x dll.The website has a dropdown list box whose values are strings with spaces.When an INSERT query stored in MS Access is called,there is a problem in the execution of the query.The strings get parsed correctly from ASP to VB.When query is called from I am getting the following error message. *[Microsoft][ODBC Microsoft Access Driver] Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT', or 'UPDATE'.* Is it that string values with spaces shouldn't be used?

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Better train people and risk they leave – than do nothing and risk they stay.” - Anonymous