Symphony Framework
GenericFileReads Method
Example 
Symphony.dB Namespace > DBAccess Class : GenericFileReads Method
The channel number.
Returned with the next record data from the database table.
Read the next record from the database table.
Syntax
public static int GenericFileReads( 
   int channel,
   out string dataArea
)

Parameters

channel
The channel number.
dataArea
Returned with the next record data from the database table.

Return Value

A value of zero (0) is success otherwise an error code.
Remarks
Enables file style managment of a database table. The Generic* methods allow easy migraiton from ISAM style processing to database managment within your application. The GenericFileReads allows you to map the sequential reading of data from the database table. Symphony.dB will cache the data returned from the database as GenericFileReads operations are performed.
Example
;;Check if we are accessing data from a database
if (Symphony.dB.DBAccess.GenericDBCheck(channel))
begin
	;;Read the next "row" from the database.
	err = Symphony.dB.DBAccess.GenericFileReads(channel, record)

	xreturn
end
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DBAccess Class
DBAccess Members