Information générale
Catégorie:
The Mere Mortals Framework
>> What am I missing?
>
>Tom,
>
>Tkae a look at the current version (3.02) of the Developers Guide. On pages 55-56, they talk about "Specifying and Creating View Parameters". Go into your bizobj class (HistoryObjSingle) and in the PostInitHook method, add the code as shown. You then need to add a new property to your bizobj class. The manual uses cCountry as an example, you could call yours cSingle.
>
>Then in the form you could say:
>
> ThisForm.HistoryObjSingle.cSingle = "1"
> ThisForm.HistoryObjSingle.Requery()
>
>Kind Regards,
>
>Mat Kennedy
>Decision Support Technology Inc.
My PostInitHook method is fine, the problem was with my view. I did not have the update column for the cid checked. The program performed a new(), stored the cid and then used it later so that I could retrieve the record, but because the cid update column was not checked the physical record had a different value for the cid. I am mostly irrated that I spent so much time finding this.
Thanks to you and Bob.
Tom
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