DeleteImage function
Syntax
DeleteImage(scrollpath, target_row, [recordname.]fieldname)
where scrollpath is:
[SCROLL.level1_recname, level1_row, [SCROLL.level2_recname, level2_row,]] SCROLL.target_recname
Description
Use the DeleteImage function to remove an image associated with a record field.
Note:
To update an image field using this function, be sure that PSIMAGEVER field is also on the same record as the image field being updated.
Parameters
| Parameter | Description |
|---|---|
|
scrollpath |
A construction that specifies a scroll area in the component buffer. |
|
target_row |
The row number of the target row. |
|
[recordname .]fieldname |
The name of the field. The recordname prefix is not required if the program that calls DeleteImage is on the recordname record definition. |
Returns
Returns a Boolean value: True if image was successfully deleted, False otherwise.
Example
&Rslt = DeleteImage(EMPL_PHOTO.EMPLOYEE_PHOTO);
Related Topics