public DBResponse ReadPrev( out string dataArea )
Parameters
- dataArea
- The returned data area.
Return Value
Returns a value indicating the status of the call.
public DBResponse ReadPrev( out string dataArea )
string itemRecord; Int32 chan; Symphony.dB.DBAccess itemAccess = new DBAccess("ITEM", "DATABASE:DatabaseManager"); if (itemAccess.OpenInput(out chan) == DBResponse.DBOK) { //read the last row from the table itemAccess.ReadLast(0, out itemRecord); while (itemAccess.ReadNext(out itemRecord) == DBResponse.DBOK) { } }
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