General information
Category:
Coding, syntax & commands
>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only