Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form leaves behind reference
Message
 
 
To
01/07/1998 11:26:09
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00113140
Message ID:
00113557
Views:
20
Pamela,

>Typically creating a custom grid class for each view so that I can just drop it on any form that needs the view.

duh, that didn't come out quite right...

I typically create a custom grid class by dragging a view onto a form, tweaking it and then use SaveAsClass. Then I finish setting the class properties in the class designer just to give me a reuseable component for any form that will want to display the view.

A simple Requery() of the view and a grd.Refresh() is all it takes to keep the grid in synch with the parent table navigation. There is no need to mess around with or reset any grid properties or RecordSource at all.
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