Symphony Framework
GenericFileDelete Method
Example 
Symphony.dB Namespace > DBAccess Class : GenericFileDelete Method
The channel number.
Delete the last located record from the database table.
Syntax
public static int GenericFileDelete( 
   int channel
)

Parameters

channel
The channel number.

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 GenericFileDelete allows you to map the deleting of the last row read from the database table.
Example
;;check to see if this "Channel" is a database channel and not an ISAM channel
if (Symphony.dB.DBAccess.GenericDBCheck(channel))
begin
	err = Symphony.dB.DBAccess.GenericFileDelete(channel)
	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