Symphony Framework
GenericFileStore Method
Example 
Symphony.dB Namespace > DBAccess Class : GenericFileStore Method
The channel number.
The data area to store into the database table.
Store a record into the database table.
Syntax
public static int GenericFileStore( 
   int channel,
   out string dataArea
)

Parameters

channel
The channel number.
dataArea
The data area to store into 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 GenericFileStore allows you to map the storeing of data to the database table.
Example
;;Check if we are accessing data from a database
if (Symphony.dB.DBAccess.GenericDBCheck(channel))
begin

	;;store the record data to the database table.
	error = Symphony.dB.DBAccess.GenericFileStore(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