Language Reference Guide : C. Generated User Classes : PictureField User Class : InsertIntoDB Method
 
Share this page          
InsertIntoDB Method
The InsertIntoDB method inserts a bitmap into a database and sets the CurObject.Handle.
This method has the following syntax:
integer = _PictureFieldObject.InsertIntoDB([tablename =
          varchar(65)])
This method has the following parameter:
tablename
Identifies the name of the table into which to insert the bitmap. If omitted, the default is II_STORED_BITMAPS.
If the InsertIntoDB method is successful, it returns ER_OK. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.