Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding A Grid At Runtime
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01061911
Message ID:
01062030
Views:
18
Kevin,

If a grid does not have a RecordSource specified it'll bind itself to whatever the currently selected alias is. If your columns are set to only a field name they should bind correctly.

>I have created 4 different grids. I want to add one of them to a form
>at runtime.
>
>I created each grid, setting the column ControlSources and setting the
>RecordSource to 'WorkTable'.
>
>The form will receive the alias of the table to bind, which I will then
>open aliased 'WorkTable'
>
>Will this work ok? Any issues here?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform