Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Data Sessions -- What are they good for
Message
From
11/12/1999 00:43:36
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00300134
Message ID:
00302180
Views:
31
Hi Roi,

Well, if the user hits cancel in the child form, you need to revert or delete the child record. It is a pain. But I would handle it proactive.


>The only tricky thing I did, and I would like your opinion on this, was dealing with the user canceling from the child form. IAW the user clicks the edit button, a new form is called (with controls bound to the dirty view's fields in the init), makes some changes (the view is now reflects those changes), and clicks cancel (I now need to change the view back to it's previous state). The only thing I could think of was to wrap the whole DO FORM in a transaction. As the transaction is only affecting the local view I don't think I will be a problem. Any comments or concerns about the transaction part?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform