Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting a record in cBizObjForm
Message
From
02/08/2001 12:25:23
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
 
To
01/08/2001 13:07:26
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00538401
Message ID:
00538923
Views:
10
Just in case anyone's scratching their heads over this one - don't bother.

I'm embarrassed to admit that I forgot to SET DELETED ON. DOH!

Regards,

Liam


>Hi All,
>
>In cBizObjForm, when deleting a record with .oBizObjName.Delete(.F., "", .T.), I expected the record to be deleted in the base table immediately, but this is not the case.
>
>I don't want to issue a TableUpdate() command against the view directly as this would seem to break the abstraction that using a business object is partly about. My understanding is that Save() only saves the current record in the business object (after a deletion, the record pointer is SKIPed by one) and I haven't found a method for specifically updating the base table.
>
>Can anyone shed any light please?
>
>Regards,
>
>Liam
Liam O'Hagan
MCP VFP Desktop Apps
Previous
Reply
Map
View

Click here to load this message in the networking platform