Symphony Framework
GenericDBCheck Method
Example 
Symphony.dB Namespace > DBAccess Class : GenericDBCheck Method
Channel number.
Check if the channel being used is a database channel and not an ISAM channel.
Syntax
public static bool GenericDBCheck( 
   int channel
)

Parameters

channel
Channel number.

Return Value

A value of True indicates that the data is being accessed from a database, False means from an ISAM file.
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 GenericDBCheck allows you to check if the given "channel" number is managing data within a database table or an ISAM file.
Example
if (Symphony.dB.DBAccess.GenericDBCheck(chn)) then
	Symphony.dB.DBAccess.GenericFileClose(chn)
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