Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requerying a view with a view parameter
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Requerying a view with a view parameter
Miscellaneous
Thread ID:
00416208
Message ID:
00416208
Views:
47
OK, so I have MM form with two tabs. On each page is a bizobj and a grid.

The second page grid's data environment is a parameterized view, and it is set to autorequery on activate of the page. (type 3)

All I want to do is take the primary key selected from the grid of the first page, and use it as the parameter for the second page.

I cannot seem to set it up so that the parameter is passed when the grid is click.

I have an addviewparameter('vp_ifacilitykey' , 'v_Facility.iFacilityKey) in the post init hook of the BizO, but I don't know if this is correct.

Should I tie them together with the parent/child settings of the two biz objects? The First Grid is read only, so maybe I should just have one bizo with two data environments?

I am not sure how I should tie these things together.

Greg
Greg Gum
Greg@Avasoft.net
Avasoft.com / Avasoft.net
800-586-5939
1861 Brown Blvd
Suite 738
Arlington Texas 76006
Next
Reply
Map
View

Click here to load this message in the networking platform