Subject | Re: [IBO] programatically setting search-criteria |
---|---|
Author | Andreas Pohl |
Post date | 2001-09-17T13:09:10Z |
In my case I use this code snipped:
sl:=TStringList.Create;
sl.add('CTL.Auftrag.IB_Edit53='+nummer);
// CTL - fix ; Auftrag - FormName; IB_Edit53 - Name of TIB_control
ib_query1.ReadSearch(sl);
ib_query1.Search;
ib_query1.Post;
BTW, I had to look into my sources, too :)
Mit freundlichem Gruss & Best Regards
Andreas Pohl
apohl@...
www.ibp-consult.com
sl:=TStringList.Create;
sl.add('CTL.Auftrag.IB_Edit53='+nummer);
// CTL - fix ; Auftrag - FormName; IB_Edit53 - Name of TIB_control
ib_query1.ReadSearch(sl);
ib_query1.Search;
ib_query1.Post;
BTW, I had to look into my sources, too :)
Mit freundlichem Gruss & Best Regards
Andreas Pohl
apohl@...
www.ibp-consult.com
----- Original Message -----
From: "Kaputnik" <delphi@...>
To: "IBObjects@yahoogroups. com" <IBObjects@yahoogroups.com>
Sent: Monday, September 17, 2001 12:10 PM
Subject: [IBO] programatically setting search-criteria
> I know I have done this before, but before I start searching my complete
old
> source-code, can somebody give me a hint how to set search-criteria
> programatically?
> I tried to set the dataset into dssSearch-Mode, then simply assign the
> fields[x].value a value and call post, but nothing happens.