|
|
Manual Page ViewerName: SQL::DATABASE-NEXT-RECORD Section: Generic Sql Interface
<sql::database-next-record CURSOR &key [COLNAMES=NAMELIST] [PREFIXTABLENAMES=TRUE] [PACKAGE=PACKAGENAME]
Description:
Fill the variables in PACKAGENAME with the values of the next record which last satisfied the search referenced by CURSORVAR. If PACKAGENAME is not supplied, then return an alist of the values instead. Each subsequent call gets a subsequent record from the list of results, until all of the results are exhausted.
Returns If COLNAMES is supplied, then the column values of this result are bound sequentially to the comma-separated list of names in NAMELIST instead of the field names in the result set.
<sql::database-next-record cursor package=tmp
colnames="a.name, a.partnum, b.name">
<get-var-once tmp::b.name>
<get-var-once tmp::a.name>
If COLNAMES is non-null, or the database connection option
Edit Pointer
![]() The META-HTML Reference Manual V2.0 Copyright © 1995, 1998, Brian J. Fox Found a bug? Send mail to bug-manual@metahtml.org |