Class Hierarchy:
cObject

BaseData_Set


DataSet



Code_Loader_Data_SetClass Definition
Properties
Integer
Code_Field
set by initialize_file
String
Current_Code
These are SET by Next_Code_Record. You may GET their values
String
Current_Description
Integer
Description_Field
Integer
Type_Field
These values should be
String
Type_Value
These should be set by the Initialize_File message
assume no defaults.
Functions and Procedures

Constrain()

Construct_Object(Integer Img#)

Initialize_File(Integer File# Integer Index# Integer Code# Integer Desc# Integer Type# String Type)
This initializes the data-set for finding. You MUST pass all five
parameters here. They are:
File# - main file to use
Index# - Index to use for finding
Code# - field number of the code
Desc# - field number of the code's description
Type# - field number of the constraining Type (0 if none)
Type - the constrain type value ('' = allow all records)
boolean
Next_Code_Record()
Find the next record: Return 0 if no record, 1 if record exists
if record exists set Current_Code and Current_Description
References (1):