Wendell,
If I'm understanding you correctly, all you need to do is set the view parameter property of your bizobj equal to whateever controlsource you have your textbox set to in the PreRequeryHook of your bizobj. You really don't need a textbox that is set to invisible. For example -
This.vp_cstate = v_states.cstate
HTH
-Dan
>Thank you for the input. The last problem I was having had to do with repopulating the combobox after requery of object. Now that I have it working I feel that I have a less than a sofisticated way of storing the object property that is used to set the parameter at run time.
>
>The Mere Mortals Developer's Guide says on page 98 that "In a desktop application, you can add code to a business object's PreRequeryHook method that pulls values from the desktop environment and stores them in the business object's properties."
>
>What I did was to add a textbox to the page the business object was on and set the control source to the field I needed and then set the textbox.value equal to my property used as the expression in my AddViewParameter. I then set the visibility of the textbox to .F.
>
>It works but, seems awkward. Is there a better way and will this have to be changed if I switch to multi-tier.
>
>Thanks for you help,
>
>Wendell