BBjFileInfo::changeKey
Description
In BBj 6.0 and higher, this BBjFileInfo method changes an existing key chain in a VKEYED file.
Syntax
Return Value |
Method |
void |
changeKey(int keynum, BBjKeyInfo keyinfo) |
void |
changeKey(string keyname, BBjKeyInfo keyinfo) |
Parameters
Variable |
Description |
keynum |
Specifies the key number to be changed. |
keyname |
Specifies the key name to be changed. |
The new key structure. |
Return Value
None.
Remarks
This method will fail, reporting an !ERROR=13 if the file is not VKEYED.
This method will fail, reporting an !ERROR=0 if the file is not locked.
This method will fail, reporting an !ERROR=11 on an attempt to change a named key chain that does not exist.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.