Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Find Form problem...
Kevin...
We subclassed cBizObjForm to create our form that edits employee data. We set up a find form to find the employee. When the SELECT button is pressed from the find form this code in the findprocess method...
*----------------------------------------
*--- If specified, set the active page
*--- to the value of nGoToPageOnEdit
*--- if not already there
*----------------------------------------
IF NOT EMPTY(ThisForm.nGoToPageOnEdit) AND NOT ;
ThisForm.pgfBizObj.ActivePage = ThisForm.nGoToPageOnEdit
ThisForm.pgfBizObj.ActivePage = ThisForm.nGoToPageOnEdit
ENDIF
Gives... nGoToPageOnEdit not a property...
Which is correct. For now we added nGoToPageOnEdit to the form, however, shouldn't this verify that that property exists? Or, should the properties exist?
Should there be a for to use for bizobj with no page frame and one with a pageframe?
I am sure you will come up with a solution... as I said, for now, we just added the property, which is .f. and it works ok.
BOb
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