Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbcxgetprop to get index info??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00459674
Message ID:
00459675
Vues:
22
Get what info, Victor? IF you mean the field names then FCOUNT() and FIELD() will do that for you. Cycle through the fields with FCOUNT() and get the name with FIELD(). You can then use EVALUATE() to see what type of data each field is and adjust the column data Format and whatnot appropriately.


>Hi all....
>Ok...here's the idea...I want to automate this somehow so I can use the same grid for all my tables....
>
>
>If AllTrim(Upper(This.RecordSource)) = "MRKTGCAT"
> CURSORSETPROP('buffering',3,'MRKTGCAT')
> With THIS
> .iaColumnInfo[1,3] = "mrktgcat"
> .iaColumnInfo[2,3] = "abbrev"
> .iaColumnInfo[3,3] = "catorder"
> EndWith
>EndIf
>
>
>
>I will know the table name...the dbcxgetprop should be able to give me this info somehow, eh? anyone know how?
>
>Thanks!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform