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 4 Examples of Using the DB Access Class Library
Up4.1 Use a Recordset
Up4.1.4 Reference data using a recordset

4.1.4.1 Data Reference Example (Using a recordset to reference data)


It is a figure of following image handled.

1.Using the OPEN-RECORDSET method in the FJDB-DATABASE class, Create an object of the FJDB-RECORDSET class.

2.Using the BIND-FIELDS method in the FJDB-RECORDSET class, associate the bind table and the recordset.

3.Refering to the variables registered in the bind table, refer to the data in database.

4.Using the IS-EOF and MOVE-NEXT methods in the FJDB-RECORDSET class, reference data until the current row of the recordset reaches the last row.

image


Contents Index PreviousNext

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