by "Maarten Wiltink" <maarten@[EMAIL PROTECTED]
>
Jun 30, 2008 at 09:58 AM
"jg07" <jg07@[EMAIL PROTECTED]
> wrote in messages
news:4867eb57$0$876$ba4acef3@[EMAIL PROTECTED]
news:4867f337$0$870$ba4acef3@[EMAIL PROTECTED]
> Dans une base de données avec TTable ou TQuery
>
> procedure TForm5.Rechercheapproche1Click(Sender: TObject);
> begin
> Table1.Findnearest([Edit1.text]);
> end
>
> Message d'erreur: Aucun index actif actuellement (??)
>
> Comment lui préciser le champ ?
By indicating an index. From code at work:
Table.Index:='PrimaryKey';
Table.Seek(...);
In that table in our database, PrimaryKey indexes the single field
UniqueId.
Groetjes,
Maarten Wiltink