Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page.Activate fires if any object Sets Focus
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00642790
Message ID:
00642887
Views:
19
>Hi, Nadya!
>
>>>
>
if thisform.EditMode and dodefault() && in Edit Mode this method means save
>   thisform.SaveProceed() && Some additional actions, after the record was saved
>else
>   dodefault() && Add method
>endif
>
>I don't really see a difference between the first code and the second.
><<
>
>The difference is: If "This.Editmode = .T.", but DoDefault() returns .F. then the ELSE case is fired - and calls DoDefault() again!

You're right! I guess, I need a fresh eye once in a while!

Thanks for the help.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform