Subject | Re: [firebird-support] Custom search string |
---|---|
Author | Grant Brown |
Post date | 2005-05-02T13:31:36Z |
Hi Tim,
Which is exactly what I am after.
the important bit.
But anyway thanks for your help Tim. Given the bad raps I have read
about the Execute Statement a dynamic query at the client side may be
the way to go, however Ali has suggested a way to go so I will try that
first.
Again thanks for your help.
--
Regards,
Grant Brown
Product Development Manager
Phone : 02 4229 1185
Mobile : 0412 926 995
Email : grant@...
Web : www.sitedoc.com.au
SiteDoc - Easy to Use - Powerful Results
>> I think you are really looking for is full blown case logic whereparts of the statement can be included depending on some input.
Which is exactly what I am after.
>> ABC.SQL.Add('where Detect= :123);Hence the "if X = true then ABC.SQL.ADD(...." with the ".ADD" part being
>> if X = true then ABC.SQL.Add('and Text1= :T1);
>> if C = true then ABC.SQL.Add('and Text2= :T2);
the important bit.
But anyway thanks for your help Tim. Given the bad raps I have read
about the Execute Statement a dynamic query at the client side may be
the way to go, however Ali has suggested a way to go so I will try that
first.
Again thanks for your help.
--
Regards,
Grant Brown
Product Development Manager
Phone : 02 4229 1185
Mobile : 0412 926 995
Email : grant@...
Web : www.sitedoc.com.au
SiteDoc - Easy to Use - Powerful Results