Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid 'ControlSource' Problem
Message
From
23/04/1998 09:10:13
 
 
To
23/04/1998 03:37:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00094228
Message ID:
00094291
Views:
28
>I have set the following grid properties: the 'RecordSource' set to an alias name, the 'RecordSourceType' set to 'Alias', the 'ColumnCount' set to the proper number of columns in my grid, each column's 'ControlSource' is set to the alias name plus the field (ex: Customer.LastName). For some reason, the grid is not showing the columns that I wanted but the fields in the table in the order they were created when the table made. Why won't the fields that I have set in all the column's 'ControlSource' properties show when the grid is displayed?

Any time you change Grid.Recordsource programmatically (or make structural changes inside recordsource), you should also programmatically reset all Column definitions (controlsource,font,etc.).
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform