DbGet                                                                                                       Function

 

DBGET(dbName as Database, aVariables as varList)

 

Description

To read data from the current record and current offset in the database. The variables in aVariables may be any of the valid variable types (String, float, etc.) The database must have been previously opened with DBOPEN. Returns an integer result. At end of file, -1 is returned. See DBOPEN for a table of result codes.

 

 

Example

Dim res as Integer

Res=DbGet(OrdersDb, OrderNo)