Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A basic business object save() question
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00145174
Message ID:
00145516
Views:
37
>> 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
Previous
Reply
Map
View

Click here to load this message in the networking platform