Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parm Values at Run Time for BizObjs
Message
De
16/07/2001 15:10:30
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Parm Values at Run Time for BizObjs
Divers
Thread ID:
00531166
Message ID:
00531166
Vues:
48
For Kevin or anyone...

I'm wondering how to best setup parameter values to be used during a business objects Requery() method.

My data environment is based on the cSQLPassThrough class and I'm assuming I would need to setup the actual "SELECT...WHERE ?" code in the GetSQLString method. The documentation states :

"Another option is to create wrapper methods on the business object for the Requery method. These wrapper methods can accept parameters, store the values to the business object properties, and then call the Requery method."

I like this approach. But what I'm not sure of, is when I get down to the GetSQLString method, if my parameter values are stored in business object properties, I need to reference them in the GetSQLString as :

this.parent.oparentobj.propertyname

Is this the best way?

TIA,
Anthony
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform