Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the control source of a grid
Message
From
09/03/2000 19:46:21
 
 
To
09/03/2000 16:00:46
Bob Smith
Custom Data Services, Inc.
Mansfield, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00343850
Message ID:
00343962
Views:
26
As everyone else has told you, you need to set the recordsource of a grid to "" before changing the recordsource. If you don't any custom properties and methods are lost.

This is by design according to Microsoft. I think the thinking is that if you change the recordsource you no longer want the custom behavior to be in effect any more.

PF

>When I change the record source of the grid I am losing
>the code in the header click events.
>What can I do ?

(On an infant's shirt): Already smarter than Bush
Previous
Reply
Map
View

Click here to load this message in the networking platform