Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change grid column controlsource?
Message
 
 
To
04/10/2001 14:23:40
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00564369
Message ID:
00564377
Views:
17
Did you try the "usual" way?
thisform.grid1.Recordsource = Space(0)
* Recreate data in the table
thisform.grid1.Recordsource = "mytable"
>It was recommended that to keep a grid from crashing when I delete the table's records and refill them with new ones... I should:
>- use COPY STRUCTURE to create a temporary file with proper structure
>- change the grids RECORDSOURCE to the new structure
>- change the grids columns CONTROLSOURCE to the new structure
>- change the delete the old source file and recreate the data
>- change the grids RECORDSOURCE to the recreated file
>- change the grids columns CONTROLSOURCE to the new structure
>
>How do you change the CONTROLSOURCE... I tried thisform.grid1.columns(1).controlsource= and I get an error of unknown item.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform