From: Michael Gill
Illinois - United States
To: Troy Reganall
Ohio - United States
Visual FoxPro 7
General VFP Topics
Tuesday, April 08, 2003 4:37:55 PM
This message was rated by:
> > Hello,
> > I am using table buffering on a form. I only want changes made to the current record committed with tableupdate(). What's the coding? I have tried;
> > SET MULTILOCKS ON
> > CURSORSETPROP('Buffering',5,'phones')
> > In the command button for Committ changes:
> > TABLEUPDATE(.T.) and have tried TABLEUPDATE(.F.)
> > What am I missing?
> > Troy
> > Long Live FoxPro!
> Ok, I have figured out that the TABLEUPDATE(.F.) is working. However, here is what I am trying to do. After the TABLEUPDATE(.F.) has been issued, I would like any other changes made to the table for any other records except the current record to be reset back to the original values. This way it does not appear to the user that changes made to other records have been updated. Any suggestions?
> Long Live FoxPro!
The only thing I can think of is to set your buffer mode to 2 or 3 (row buffering). Then, before the record pointer moves and automatically commits changes, do a TABLEREVERT() on records you don't want to keep.
- The Home of the Visual FoxPro Experts
Posted by Troy Reganall @ 4/8/2003 4:07:52 PM
Posted by Troy Reganall @ 4/8/2003 4:24:09 PM
Posted by Michael Gill @ 4/8/2003 4:37:55 PM
Posted by Craig Moore @ 4/8/2003 5:43:21 PM
Posted by Michael Gill @ 4/8/2003 6:48:16 PM
Posted by Craig Moore @ 4/8/2003 4:54:54 PM
Posted by Troy Reganall @ 4/8/2003 9:50:17 PM