Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error using the AddViewParameter
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00962473
Message ID:
00962879
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform