DbUpdate                                                                                                Function

 

DBUPDATE(dbName as Database, dbKey as anyVarType, varlist)

 

Description

Updates an existing database record identified by dbKey and uses varlist to obtain new values to place into the database. The database must have been previously opened with DBOPEN. Returns an integer result. See DBOPEN for a table of result codes.

 

 

Example

Dim res as integer

Res=DbUpdate(CustomerDb, "654" , custName, custAddress, custPhone)