Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Issue with SetAlias() method?
I believe that there is an issue with the setalias() function of kbizobj. In particular, it does not update the oExecutant property with the business object. This only occurs if the oExecutant property changes. So if you call setalias() before the oExecutant property is initially set, you will NOT encounter the problem. If, however, you save to one view, then call setalias(), and try to save to another view, oExecutant does not get changed to the new cursor object, and therefore the wrong view is updated.
I think that all that needs to be done is to add a line or two in the setalias() method that updates the oExecutant object.
Any thoughts?
Thanks,
David
Suivant
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