Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting field name based on tag name
Message
De
29/09/2008 14:01:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01351504
Message ID:
01351540
Vues:
22
Although key(1) is both shorter and less typing, ataginfo() is shorter in time ;-)
_

>It doesn't work anyway for some reason. I guess I need to go back to ataginfo.
>
>This code
>
>lcChild = laAllTables[lnI,1]
>     USE (lcChild) IN 0 SHARED ALIAS Child AGAIN 
>     lcExprC = KEY(TAGNO(laAllTables[lnI,3],'Child'), 'Child')
>
>returns 0 for tagno and then error. Do you see a problem here?
>
>>>>>No, but it is still shorter and less typing.
>>>>
>>>>True, but how do you know which index to pass to key() ?
>>>
>>>tagno(tagName) - the old backward capability function still has its usage.
>>
>>Oh, IC
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform