Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Yet another Grid control problem
Message
 
To
17/06/1999 15:10:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00231028
Message ID:
00231050
Views:
18
Matt,

When you pack the table it gets erased and for a moment there is no table there with the proper name. That sends the grid into lala land (that's a technical term).

Before you pack you should;

Thisform.grid1.recordsource = ""

Then after the pack;

Thisform.grid1.recordsource = "YourTableAlias"

It is also a good idea to avoid packing tables interactively as it can be a very time consumming operation which your users probably won't appreciate.
Previous
Reply
Map
View

Click here to load this message in the networking platform