Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Data Elements and Query Parameters
Message
From
15/09/2004 11:36:50
June Kendrick
Kendrick Associates, Inc.
New York, United States
 
 
To
18/08/2004 17:24:02
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00934196
Message ID:
00942456
Views:
22
If you are using a cListObjEdit, do you add the this.dss_iid with a this.addproperty at init time?

Thanks,

June

>>I have a second data access element spcified for a business object, and it needs a view parameter. In the postinithook method for the bizobj, I have two View Parameters specified, where v_md is the second data access element, and v_dss and v_mm are views of other bizobjs.:
>>
>>
>>this.AddViewParameter('vp_idid', 'v_dss.iid')
>>this.AddViewParameter('vp_imid', 'v_mm.iid', 'v_md')
>>
>>
>>When I run the form, I am asked for the value of vp_imid.
>
>You almost never want a view parameter to be based on another view. The suggested method for managing view parameters is to store the value to the business object. You can then create a method to pass the new values along to the view.
>
>
>bizobj.postinithook
>This.AddViewParameter('vp_idid', 'This.dss_iid')
>This.AddViewParameter('vp_imid', 'This.mm_iid')
>
>bizobj.MyNewRequery
>LPARAMETERS tDSS_iid, tMM_iid
>This.dss_iid = tDSS_iid
>This.mm_iid = tMM_iid
>This.Requery()
>
>
>Chris.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform