VB6Runtime / Library / File / unlock

VB6 Library Reference

VB6 Unlock statement syntax: - Unlock [#]filenumber[, recordrange] Removes access restrictions on all or part of an open file. The Unlock statement syntax has these parts:

Part Description
filenumber Required. Any valid file number.
recordrange Optional. Range of records to unlock. Can be: record, start To end, or omitted for entire file.

Remarks

Examples

Unlock #1
Unlock #1, 5
Unlock #1, 10 To 20

Reference

← Back to File | View all functions