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.

Reply via email to