File Name
Syntax
DBGetAttribList(REF attribList:LIST OF DBDialogAttribRec, VAL defaultAttribList:LIST OF DialogAttribRec, VAL dialogName:STRING, VAL serverID:INTEGER );
Parameters
attribList - returned list of attributes
defaultAttribList - if the database list is empty, use these values
dialogName - name of the dialog box stored in DB attribute table
serverID - server group ID (not used currently)
Returns
1 = success
0 = failure
-n = failure, database error code
Side Effects
None
Description
This function gets the list of attributes, from the database, and applies it to this dialog box.
Dialog Forms Called
None
File Name
Syntax
DBSetAttribDefaults(VAL defaultAttribList:LIST OF DialogAttribRec);
Parameters
defaultAttribList - list of entries to put into the attributes table in the database
Returns
1 = success
0 = failure
-n = failure, database error code
Side Effects
None
Description
If the database table has not been "initialized", this routine populates the table with the appropriate data.
Dialog Forms Called
None
File Name
Syntax
DBSetAttribList(VAL attribList:LIST OF DBDialogAttribRec);
Parameters
attribList - list of attributes to write to the database
Returns
1 = success
0 = failure
-n = failure, database error code
Side Effects
None
Description
This function sets the list of attributes, from the database, that apply to this dialog box. It is assumed that the relevant ID data (dialogName, serverID) has been set in the list.
Dialog Forms Called
None