Information Technology Reference
In-Depth Information
virtually eliminate the possibility of busy records and if other programs did the same
thing unavailable records should be very rare.
Of course a record may be busy and we could add code to our program to change
the situation somewhat. We could put some kind of pause in the program of ten seconds
or so and then try again. This may then make the record available. This will be discussed
in chapter 16. Another approach wo uld be to somehow save the account number of the
busy record as well as the changed fields and then when the program is about to end go
through a paragraph to attempt all the unsuccessful updates once more. We may succeed
in some or all of the records but the ones that still couldn't be updated would somehow
have to be made known to the operator.
Search WWH ::




Custom Search