Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Grid Headings
Message
From
18/05/2000 16:33:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Change Grid Headings
Miscellaneous
Thread ID:
00370905
Message ID:
00370905
Views:
58
I want to programatically change the headings of a grid. The number of grid columns is dynamic however the column where I want to start renaming is static. I take the total number of fields in the cursor, subtract the 7 static fields. This gives me the number 8. The syntax I have tried to use is:
For sd = 1 To FCount() - 7
ThisForm.Grid1.Column + Str(sd).Header1.Caption = myMPta(sd)
Next sd

This dosen't work. Thanks for any help.
Next
Reply
Map
View

Click here to load this message in the networking platform