Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>Hi Ed,
> Thanks for the input. The name of the cdx file matches the name of the .dbf (as it should) and the file extension is not required in the parameter. Sergey got me pointed the right direction though, so I'm ok now.
>
>>You need the name of the cdx file as the first parameter not the alias in TAGCOUNT("indexfile.cdx","aliasname") or TAGCOUNT() by itself for the currently selected table.
The syntax is TAGCOUNT([CDXFileName [, nWorkArea | cTableAlias]])
>>
>>Ed
Ah, but the reason it is not working for you is the fact that you left out the ".cdx". I tried it both ways... without the ".cdx" returns 0, with "filename.cdx" returns the number of tags.
Note: it will work without the ".cdx" if you have the table you wanted checked currently selected. Try TAGCOUNT("aliasname") after you type SELECT 0... it will return 0.
Ed
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement