Could someone please clarify what actually goes whilst REPROCESSING
during attempts to LOCK a record in a table.
My question relates to a school register where multiple users APPEND records to
a table at the same time but only at certain times of the day.
The query:-
As I understand it, before a record is written to a table it checks to see
if any other user has locked the table. If the table header is not locked
a users attempt to APPEND a new record and populate it
with data will be successful. If the table is locked, access to the table
is denied and the attempt to add a record the the table fails.
I hope I am on the right track so far.
If a number of users are a attempting to perform the same task at the same time
how does the SET REPROCESS deal with these multiple attempts.
????????????
All the attempts to create a new file are effectively made to form a queue and
VFP creates each one of the user's records in turn and no data is lost.
or
Each user's application will attempt to write to the file and if the process runs
out of time and some data is lost.
How do I optimize the use of SET REPROCESS to obtain the most efficient use.
Thanks in anticipation
Keith
during attempts to LOCK a record in a table.
My question relates to a school register where multiple users APPEND records to
a table at the same time but only at certain times of the day.
The query:-
As I understand it, before a record is written to a table it checks to see
if any other user has locked the table. If the table header is not locked
a users attempt to APPEND a new record and populate it
with data will be successful. If the table is locked, access to the table
is denied and the attempt to add a record the the table fails.
I hope I am on the right track so far.
If a number of users are a attempting to perform the same task at the same time
how does the SET REPROCESS deal with these multiple attempts.
????????????
All the attempts to create a new file are effectively made to form a queue and
VFP creates each one of the user's records in turn and no data is lost.
or
Each user's application will attempt to write to the file and if the process runs
out of time and some data is lost.
How do I optimize the use of SET REPROCESS to obtain the most efficient use.
Thanks in anticipation
Keith