Subject RE: [IBO] programatically setting search-criteria
Author Kaputnik
Thanx.....writesearch and readsearch work for me.
Isn't there a way to acess the fields of a query directly, as it would save
me lots of parsing and string-formatting work?

P.S.
one problem with my old sources is, that they are all stacked up in a
freeVCS-Database which is backed up and needs to be restored, so I would
like to avoid it :-)

What does the CTL stand for? It seems to be fix for any query in every
application. Perhaps Jason would like to explain....

Nick Josipovic
CRM Administration
BIT-Institute
Prof. Dr. Franz Steffens
Schloss
68163 Mannheim
Germany
Phone: ++49 621 181-1621
Fax: ++49 621 181-1618
mailto:nick.josipovic@...



> -----Original Message-----
> From: Andreas Pohl [mailto:apohl@...]
> Sent: Monday, September 17, 2001 3:09 PM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] programatically setting search-criteria
>
>
> 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
> ----- 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.
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>