Subject | Re: filter problem |
---|---|
Author | Jason Wharton |
Post date | 2001-09-19T17:56:37Z |
While I agree there is a parsing problem in there somewhere, if your filter
is just plain SQL then you should simple use the OnPrepareSQL event and the
SQLWhereItems. This is the IBO way of doing things.
Also, you can preface your filter with the prefix ::SQL:: and then
everything after that will be treated as raw SQL. Otherwise, IBO has to
parse out and make sense of your filter string and that can be rather
complex.
FWIW,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
is just plain SQL then you should simple use the OnPrepareSQL event and the
SQLWhereItems. This is the IBO way of doing things.
Also, you can preface your filter with the prefix ::SQL:: and then
everything after that will be treated as raw SQL. Otherwise, IBO has to
parse out and make sense of your filter string and that can be rather
complex.
FWIW,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com