Subject Re: simple locate question
Author deccico
thanks for your quick answer. It is working great with a little
correction.


tbl->Locate("ID_SUBARTICULO", nIdSubArt, TIB_LocateOptions());


thanks again

Adrián Deccico
SOFTWARE DEVELOPER

http://adrian.org.ar




--- In IBObjects@yahoogroups.com, "Robert martin" <rob@c...> wrote:
> I'm no IBO (or C++) expert but wouldn't you just go ...
>
> in Delphi
>
> tbl.Locate('ID_SUBARTICULO', nIdSubart, []);
>
> or in c (guess)
>
> tbl->Locate("ID_SUBARTICULO", nIdSubart, []);
>
> Rob Martin
> Software Engineer
>
> phone 03 377 0495
> fax 03 377 0496
> web www.chreos.com
> ----- Original Message -----
> From: deccico
> To: IBObjects@yahoogroups.com
> Sent: Monday, July 12, 2004 11:36 AM
> Subject: [IBO] simple locate question
>
>
> Hi, I hame a TIB_Query component and the value of the primary key that
> I want to seek.
>
> Using the BDE I do something like
>
> tbl->EditKey();
> tbl->FieldByName("ID_SUBARTICULO")->AsString = nIdSubArt;
> tbl->GotoKey();
>
> How I can do the same with IBO?
>
> best regards
>
> Adrián
>
>
>
>
___________________________________________________________________________=

> 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 !

>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
>
>
---------------------------------------------------------------------------=
---
> Yahoo! Groups Links
>
> a.. To visit your group on the web, go to:
> http://groups.yahoo.com/group/IBObjects/
>
> b.. To unsubscribe from this group, send an email to:
> IBObjects-unsubscribe@yahoogroups.com
>
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
>
>
> [Non-text portions of this message have been removed]