>>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.comNever mistake having a career with having a life.