Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TAG() returns value but will not insert into table
Message
De
14/02/2006 16:13:56
 
 
À
14/02/2006 16:09:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Novell 4.x
Database:
Visual FoxPro
Divers
Thread ID:
01096302
Message ID:
01096329
Vues:
11
>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
Fil
Voir

Click here to load this message in the networking platform