Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TAG() returns value but will not insert into table
Message
From
14/02/2006 16:13:56
 
 
To
14/02/2006 16:09:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01096302
Message ID:
01096329
Views:
12
>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
Map
View

Click here to load this message in the networking platform