Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using different views in the same biz object
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Using different views in the same biz object
Miscellaneous
Thread ID:
00952594
Message ID:
00952594
Views:
48
Hi,

Another newbie question I'm afraid....

I have a biz object and want to use two different views with it.

One view would typically return all the records and another view would be a parameter driven view.

So, we could have a biz object that represents customers, and sometime I want this biz object to use the unrestricted 'all customer' type view.

On other forms I want this biz object to use a restricted version of this view that utilizes a parameter, a what customer am I'm looking for type of view.

How do I do this?

Does my biz object have two dataenvironments which contain one of the views, dataenvforallcustomers and another dataenv named something like dataenvforacertaincustomer.

It doesn't seem right to have one dataenv with both views and use the initialselectedalias to tell the dataenv which view I want to use. Doing it this way would mean I would have both views open but only be actaully using one of them.

Any info would be gratefully received,

Thanks , Bernard....
Next
Reply
Map
View

Click here to load this message in the networking platform