Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View Parameters
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00179768
Message ID:
00180194
Views:
32
>Tom,
>
>I have always doen it this way, whenever the requery is to be issued I create and populate the parameter as a LOCAL.
>
>
>LOCAL lcViewParm
>lcViewParm = Obj.Property
>Requery("TheView")
>
>
>This way there are no public vars floating around to get clobbered, the view is not bound to an object so it can be used independantly of the object's name, the code that requeries the view has the line that populates the parameter right before it so it is self documenting, the view can be used and tested outside of the application (no object dependency).

Jim,
What do you do for loading a form? If the dataenvironment is a view and I let the DE open and close tables, I can't get it to work w/o the view parm dialog poping up. If I put a public in beforetablesopen it works, a local fails.
-TomC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform