Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Going crazy
Message
From
05/08/1999 15:37:13
Ed Gay
Computer Software Consultants
Bangor, Maine, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00249409
Message ID:
00250355
Views:
18
>Hi Ed, I never did a form like this with a grid both page 1 and page 2 but here's some thoughts...
>
>When you say "filter on page 1" do you mean your view is setup to display a subset of data from the table? And is this view set as your initial selected alias in the BizObj builder?
>
>Is your second view parameterized on a key field so that it can requery out the correct record to show expanded on page 2? You want to see the section in the Developer's Guider on Requerying Business Objects to handle requerying the second view when the page is activated. You will also need to select the view so that its the current alias when page 2 is activated.
>
>Typically with a pageframe you want a separate business object on each page. In that scenario you need to handle parent-child relationships like George Simon posted. Since your page1 and page2 are using views from the same table, you can get away with one business object I think. But you need to place the business object on the form instead of an individual page, so you need to reference it from you grid with a .parent.
>
>HTH

Yes, I am viewing a subset of the data in the grid on page one by using a parameter in the query. I have a parameter for the second view on page two that (I thought) would work off of the highlighted record on the grid on page one.

I feel that I should have a different business object on the second page, I can not give you a good reason (speed?); it is just a feeling if I don't I'll have more trouble later on when I try adding more to the form.

Ed
Previous
Reply
Map
View

Click here to load this message in the networking platform