Recently I posted a message describing problems issuing a TABLEUPDATE command from a toolbar in VFP 3. I've narrowed down the problem, and would appreciate any feedback.
The setup:
Visual Foxpro 3.0
A formset with two toolbars and several forms
5 tables in the dataenvironment. All of them are set to Optimistic Table Buffering
The problem:
One of the toolbars has a "Save" button which issues a TABLEUPDATE command from the Click method. When I click the button, the TABLEUPDATE command returns .T., but nothing happens. However, if I put the "Save" button on any form in the formset, everything works great. It only stops working when it's on the toolbar. Furthermore, if I activate the method programatically, for example, typing: formset.toolbar.button.click() from the commandwindow, it also works.
I've tried everything I can think of, but the solution still eludes me. Neither the toolbar nor the form are in Private data sessions. Can anybody offer any suggestions?
Thanks in advance for your help
-Jeremiah
Salvation is found in no one but Jesus, for there is no other name under heaven by which we must be saved. - Acts 4:12