DB Access Class Library for COBOL V1.0 API Reference - Microsoft(R) Windows(R) - - Microsoft(R) Windows NT(R) - - Microsoft(R) Windows(R) 2000 -
Contents Index PreviousNext

UpChapter 11 Notes on Using the DB Access Class Library

11.2 Notes on a Bind Table


A bind table is an object used to manipulate data by using a record set or dynamic parameter.

[Note on a bind table used in manipulating data in a record set]

When the user registers variables that handle data in a recordset in a bind table, their order of registration must match the order of fields in the recordset. As many variables as there are fields in the record set are registered in the bind table. If the number of variables registered in the bind table does not match that of fields in the recordset, the BIND-FIELDS method in the FJDB-RECORDSET class will generate an error.

[Note on a bind table used with dynamic parameters]

When the user registers in a bind table variables that handle dynamic parameters in a record set, their order of registration must match the order of entry of the dynamic parameters. As many variables as there are dynamic parameters are registered in the bind table. If the number of variables registered in the bind table does not match that of the dynamic parameters, the OPEN-RECORDSET method and the EXECUTE-COMMAND method in the FJDB-COMMAND class will generate an error.


Contents Index PreviousNext

All Rights Reserved, Copyright (C) Alchemy Solutions Inc. 1998-2000