Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why can't I TABLEREVERT() from menu?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00097852
Message ID:
00097861
Views:
24
>>I have a standard toolbar and menu for my app. The toolbar has a Revert button and the menu has a Revert pad, both of which run the active forms RevertRec custom method. If I use the toolbar the record reverts, if I use the menu the record doesn't revert. Why is this happening? TIA
>
>Colin, how do you call your form method from the menu?
>Did you try _screen.activeform.revertRec() ?

Yes. In fact when I traced the app the RevertRec method is being run but the TABLEREVERT() doesn't revert. I changed the line to say mnreverted=TABLEREVERT() and from the toolbar, mnreverted=1, from the menu mnreverted=0.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform