DbPut                                                                                                       Function

 

DBPUT(dbName as Database, aVariable as vartype)

 

Description

To write the value of aVariable to the database at the current database location. The database must have been previously opened with DBOPEN and the position set using DBPOSITION. Returns an integer result. See DBOPEN for a table of result codes.

 

Example

Dim res as integer

Res=DbPut(OrderDb, OrderNo)