Information générale
Catégorie:
The Mere Mortals Framework
>Anthony,
>
>>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?
>
>Actually, the parameters and their values are passed to the data access object's Requery method in the taParms parameter which in turn passes them to the GetSQLString method, so you can simply pick them up from there.
>
>Regards,
I was trying to avoid using the AddViewParameter() method, but that seems now to be the best way.
Thanks for your help.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement