General information
Category:
Coding, syntax & commands
Title:
Change Grid Headings
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only