Click to open or copy the files for the Example4 sample.
This example accesses the data within each row without using dbbind and illustrates the use of row buffering. It runs a query, saves all of the returned rows (up to a maximum of 100) using DB-Library row buffering, and allows the user to examine data rows at random.
This sample uses the following keywords:
atoi; dbclrbuf; dbcmd; dbconvert; dbdata; dbdatlen; dbdead; dberrhandle; dbexit; dbgetrow; dbinit; dblogin; dbmsghandle; dbnextrow; dbopen; dbresults; dbsetlapp; dbsetlpwd; dbsetlversion; dbsetopt; dbsqlexec; defined; err_handler; gets; msg_handler; printf; puts