|
You should inform your user that the record can not be updated because it is in use by another user. Then let him refresh his copy of the record and retry his update. It is not safe to loop until the record is available because your user may end up changing values that were changed between his retrieving the record and his attempt to update. If the record is locked by a program that just _reads_ the record, then change the file in that program to INPUT. -- Richard Rosenbluth Rose Information Management Co. mailto:rose400@pacbell.net ------------------------------- Erick Garske wrote: > > How should you best deal with updating a record that may be locked by > another user? Use the error indicator in the update and place in a do > loop? > > Thank you for your help. > > Erick > > --------------------------------------------------------------- > > Name: egarske.vcf > Part 1.2 Type: text/x-vcard > Encoding: 7bit > Description: Card for Erick Garske +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.