BtServer:SetOwner()
<< Click to Display Table of Contents >>
BtServer:SetOwner()
|
|
Purpose
Assign Owner name to Btrieve file
Prototype
METHOD SetOwner ( cOwner, nMode ) CLASS BtServer
Argument(s)
<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)
Return
LOGIC Was the owner Set succesfully
Description
Please note that you can't set an owner name if there is already an owner name set for the table.
See Also
BtServer, BtTable:SetOwner(), BtServer:ClearOwner()