BBjAPI::createFileRecordSet
Description
In BBj 4.00 and higher, this method creates a BBjRecordSet bound to a multikeyed MKEYED or XKEYED file.
In BBj 6.00 and higher, a BBjRecordSet can also be bound to a multikeyed VKEYED file.
Syntax
Return Value |
Method |
---|---|
createFileRecordSet(string filename, string modes, string template) |
Parameters
Variable |
Description |
---|---|
filename |
Specifies the name of the MKEYED, XKEYED, or VKEYED file. |
modes |
Specifies the file mode, which is the string specified in the MODE=string option in a regular OPEN command. |
template |
A string template describing the records in the file. |
Return Value
Returns a file-based BBjRecordSet object.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.