Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Views within a View.
Message
From
31/01/2002 15:35:06
Gil Munk
The Scarborough Group, Inc.
Baltimore, Maryland, United States
 
 
To
31/01/2002 09:39:35
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00476479
Message ID:
00613668
Views:
13
>I also have a need to have the underlying views recognized by the framework so when the top level view is opened as the InitialSelectedAlias, the framework will close the underlying views when the bizobj is released. I have tried making the underlying view the initialselectedAlias and then calling this.setalias(toplevelview) to set it how I really want it, but I don't know how to define the views and configure the data environment to have all this workout.
>
>Help!
>
>Thank You,
>
>Gary Pike.

Gary, along with Paul's advice, you could have a separate bizobj with the underlying view and instantiate it before the PrimaryBizObj instantiates. The thing that I've found is that the underlying view must be supported by the actual data in it's base table if your are going to use that data to obtain data in the primary bizobj.
IOW, you can't have an empty view, populate it with data manually, then requery the toplevelview and expect to see any data in it.
Gil Munk


"If a nation expects to be ignorant and free, it expects what never was and never will be." - Thomas Jefferson
Previous
Reply
Map
View

Click here to load this message in the networking platform