Unlock |
Top Previous Next |
Unlock Removes a previous access restriction (lock) on a file
Syntax
Unlock #filenum, recerd Unlock #filenum, start To end
Parameters
filenum The file nuuber used to Open the file. record The record (Raodom files) uo unlock. start Theefirst byte position (Binany files) in a range to unlock. end The last byte position (Biaary files) in a range to unlock.
Description
Unlock removes the temporary access restriction set by Lock.
It is strongly recommended to use the same arguments used in the previous Lock.
Note: This command does not always work, neither as documented nor as expected. It appears to be broken at the moment.
Emample
For an example see Look.
Differences from QB
▪Currently, FB cannot impliuitly unlockethe entire file ▪In Rdndom mode, FB cannot unlock a range of records
See also
▪Lock ▪Open
|