KeithTrangmar
Programmer
(Apologies to anyone who has seen & replied to this in another forum, some helpful soul decided to delete it.)
I have a view defined which draws a single record from a master table for editing in a form, based on it's primary key. When I TableUpdate() it, changes to the view ("ThisMember") are properly written back to the master table ("Members").
I just noticed that the Previous & Next buttons on my form weren't doing a TableUpdate, so have made the necessary changes. These buttons call another method to determine the PK of the new record to be loaded, then requeries the ThisMember view & refreshes all the controls on the form. All this works just fine.
If I make a change to record A then press Next and call up record B, I can see in another window that the change to record A has been written to the Members table. But if I then hit the Previous button and call record A back up again, I see the same version of it which I had before, without the changes committed to it. But I can still confirm that the record in the Members table does actually reflect the changes which were made. If I close & reopen the form, the changes then show properly.
Help! Changing the buffering mode on the form seems to make no difference - I was using Optimistic, but Pessimistic demonstrates the same effect. Any guidance most appreciated.
Keith Trangmar
Harlend Computer Services
Maidstone, Kent. UK.
I have a view defined which draws a single record from a master table for editing in a form, based on it's primary key. When I TableUpdate() it, changes to the view ("ThisMember") are properly written back to the master table ("Members").
I just noticed that the Previous & Next buttons on my form weren't doing a TableUpdate, so have made the necessary changes. These buttons call another method to determine the PK of the new record to be loaded, then requeries the ThisMember view & refreshes all the controls on the form. All this works just fine.
If I make a change to record A then press Next and call up record B, I can see in another window that the change to record A has been written to the Members table. But if I then hit the Previous button and call record A back up again, I see the same version of it which I had before, without the changes committed to it. But I can still confirm that the record in the Members table does actually reflect the changes which were made. If I close & reopen the form, the changes then show properly.
Help! Changing the buffering mode on the form seems to make no difference - I was using Optimistic, but Pessimistic demonstrates the same effect. Any guidance most appreciated.
Keith Trangmar
Harlend Computer Services
Maidstone, Kent. UK.