Subject Re: [IBO] Locate says unknown token
Author Don Gollahon
I went ahead and changed the field names. It isn't too large of a project
yet. Might as well change it now.

Thanks.


""Jason Wharton"" <jwharton@...> wrote in message
news:07bc01c17a1f$05a46800$dc756a41@CX170673E...
> > 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
>
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>