>>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() ?
Discovered something interesting. The form in question was using a view set to optimistic row buffering. On a hunch I changed it to optimistic table buffering and now everything works fine?!?! This next part is part statement and part question and I would like others input:
Using row buffering the toolbar revert button worked because a toolbar can never receive focus but the menu pad didn't because something behind the scenes is issuing an automatic TABLEUPDATE() between control going from the form and the menu. Is this statement generally true? Does anyone have anything to add or can explain the why's and wherefore's of why this happens?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.