HI Jim,

The SAVEROW saves the screen buffer to the database, if I understand this
correctly. The RBASE help details EEP specific commands and the SAVEROW is
one of them.

Placing the SAVEROW after the update causes the error message as the
underlying table has been updated while the screen was editing that
database record.

Are you asking a general question or is there something specific you are
trying to do?

Regards, Ken

On Sun, Jan 5, 2025 at 3:28 PM James Burroughs <[email protected]> wrote:

> RBase List,
>
> I'm hoping someone can clarify what the SAVEROW command actually does.  I
> have the following UPDATE statement in the On Exit EEP of a DB Edit control
> which changes the value of column vwactive in table vwatchroute.  When
> SAVEROW is placed *after* the UPDATE statement, the message shown below
> is displayed (there are no other users connected).
>
> SAVEROW       -- Placed before UPDATE works as expected
>
> UPDATE vwatchroute SET vwactive = .vwatch1 WHERE propertyidxx = .vcustid
>
> SAVEROW  -- Placed after UPDATE generates the message below
>
> When SAVEROW is placed* before* the UPDATE statement, the update works as
> expected.  However, this seems counter-intuitive, since at that point no
> changes have yet been made to be saved.
>
> I suspect that what SAVEROW is actually doing is changing the access mode
> of the table to Edit, so that the subsequent UPDATE statement can write to
> the table, although I've been unable to find anything about this in the
> documentation.
>
> Thanks,
>
> Jim Burroughs
>
>
> --
> For group guidelines, visit
> http://www.rbase.com/support/usersgroup_guidelines.php
> ---
> You received this message because you are subscribed to the Google Groups
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/rbase-l/d0df893a-60af-44b5-b1ff-14275e06c8a3%40cox.net
> <https://groups.google.com/d/msgid/rbase-l/d0df893a-60af-44b5-b1ff-14275e06c8a3%40cox.net?utm_medium=email&utm_source=footer>
> .
>

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/rbase-l/CADeqk-5o1a%3Dg%2BxeXVS-hWRMQUX2EX10M7k2ZGnf46fcW6nbsbQ%40mail.gmail.com.

Reply via email to