Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbcxgetprop to get index info??
Message
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00459674
Message ID:
00459675
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform