<< Click to Display Table of Contents >>
Assign Owner name to Btrieve file
METHOD SetOwner ( cOwner, nMode ) CLASS BtServer
<cOwner> (Optional) New Owner name, defaults to "VO2BTRIEV"
<nMode> (Optional) Open mode for use without valid Owner name Defaults to 1
0 Requires an owner name for any access mode (no data encryption)
1 Permits read-only access without an owner name (no data encryption)
2 Requires an owner name for any access mode (with data encryption)
3 Permits read-only access without an owner name (with data encryption)
LOGIC Was the owner Set succesfully
Please note that you can't set an owner name if there is already an owner name set for the table.
BtServer, BtTable:SetOwner(), BtServer:ClearOwner()