SetDBHandles Method
The SetDBHandles method assigns DBHandles to all bitmaps in an array.
This method has the following syntax:
integer = _PictureFieldObject.SetDBHandles(ary = Array of Object,
picturefield = varchar(32) not null)
This method has the following parameters:
ary
Specifies the array in which to set handles
picturefield
Specifies the name (that is, simple name, not full name) of the _PictureField attribute in ary
SetDBHandles loops through array argument, ary, and assigns CurObject.Handle to Bitmap.DBHandle in every row. It continues to loop even if an error occurs while loading the image, but displays an error in the Trace window. It calls SetDBHandle() and issues a commit operation after each call.
If the SetDBHandles method is successful, it returns ER_OK. Descriptions of system constant values and their numeric equivalents are listed in
Error Codes.
Last modified date: 12/20/2023