Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Problem!
Message
 
To
19/03/1999 23:12:45
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00200084
Message ID:
00200088
Views:
13
>The grid work fine if I predefine the recordsource at the form load But if I change the recordsource at runtime (When the Users specified the other dbf for the recordsource). the predefine method will gone. So i just want to ask do you had any idea to avoid this happen?
>
>Tony

Tony, you if you want to change the RecordSource for the grid and preserve the grid settings, you have to set Grid.RecordSource = ""
before changing the RecordSource. After you reset the RecordSource you need to set Column.ControlSource properties according your new RecordSource.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform