Subject Re: [IBO] Locate says unknown token
Author Jason Wharton
> I put quotes around the field "DAY" in the keylinks and now the error is
in
> the parameter on line 3 instead of the first line. How do I fix that?

There is a global flag that needs to be turned on so that IBO will check
regular tokens against the list of system tokens and put quotes for you
around any SQL it is generating for you. I took it out because it was a
drain on performance to have it rely upon that. The moral to the story is,
avoid using them if you can. If you can't then turn on the switch to avoid
the errors.

The global flag is in the IB_Session unit:

{: This global variable serves as a flag to tell if you want to make sure
and
check for reserved tokens automatically. Leaving this to false improves
performance. If you use reserved tokens and manually put quotes around them
it should still be fine to leave this set to false.}
CheckForReservedTokens: boolean = false;

Make sure you include the IB_Session unit in your uses clause and then set
this flag to true.

Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com