Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error using the AddViewParameter
Message
 
À
18/11/2004 10:06:56
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00962473
Message ID:
00962879
Vues:
9
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform