Monday, November 06, 2006

Error: Cannot interpret token

Cannot interpret token '!'

This error will occur when you try to pass an Invalid Token specifier.
eg:drCheck = dsSaveTemplate.Tables[0].Select("isExists = 'true' and template_code != '6'");

You will recieve error similar to this...Cannot interpret token '!' at position 37.

Solution
Make use of proper token specifier in search field.
eg: != is replaced with <>drCheck = dsSaveTemplate.Tables[0].Select("isExists = 'true' and template_code <> '6'");

So whenever this error occurs try to find out help on available valid token specifier for a given argument.

Most Recent Post

Community Updates

Subscribe Blog via Email

Enter your email address:



Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.
Page copy protected against web site content infringement by Copyscape