Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   nochmal query.locate (https://www.delphipraxis.net/132647-nochmal-query-locate.html)

khh 16. Apr 2009 18:06

Datenbank: firebird • Version: 2.1 • Zugriff über: zeos

nochmal query.locate
 
hallo zusammen,

bei der Ausführung der funktion:
query.locate(inttostr(artikel_id),inttostr(artikel .ARTIKEL_ID),[]);
( inttostr habe ich benutzt weil als Argument ein string verlangt wurde :-( )

bekomme ich eine exception - incorrect sybol in feldlist "66"- wobei die 66 die übergebene id ist.
was mache ich falsch?


Gruss Kh

mkinzler 16. Apr 2009 18:08

Re: nochmal query.locate
 
Es wird ein Varinat verlangt, also:

Delphi-Quellcode:
query.locate('artikel_id',artikel.ARTIKEL_ID,[]);

khh 16. Apr 2009 18:18

Re: nochmal query.locate
 
ok, danke dir



Gruss kH


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:03 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz