>I know the title doesn't help find out what problems I'm having with Mere Mortals but I am going crazy. I am using a materialinputform, on page one I've filled the grid with titles, now I want the user to select from the list of titles and then be presented with a more complete list of information about that title. I've put another grid on page 2 but (going of three weeks off and on) have not been able to get this second grid to populate. I've looked at the example project and tried to recreate the views and code in my form but to no avail. What happened to the (simpler) old days when in 1 min I could have done this.
Hi Ed,
It sounds like the parent-child relationship might not be set up properly between the bizobj on page1 (the parent) and the bizobj on page2 (the child). Consequently, the child object is not being requeried when you want. Here are some suggestions:
1) Make sure the view you created for page2 is working properly by USEing it in the command window.
2) Make sure there are no typos in data environment class and the dynamic view cursor class.
3) Once you've checked for the easy stuff :) look at the business objects.
a) In the parent bizobj on Page1, make sure you have the cUniqueIdField property set to the name of the primary key field.
b) In the child bizobj on Page2, make sure you set the cParentBizObj property to the name of the parent bizobj on page1, then make sure you set the nRequeryType property to 1 - requery when parent changes.
4) In the PostInit() method of the child bizobj, make sure you properly setup the aViewParameters array property. Refer to the section 'Specifying and Creating View Parameters' in the MM Developer's Guide.
HTH
George
George Simon, MCP