S63 - Stock Image (Picture) Filename (Stock Control Report Generator variable)

From Catalyst
Jump to: navigation, search

Syntax

S63{id}

Description

Returns the name of an image file associated with the stock item.

This can be used in conjunction with image printer commands (e.g. '^{I filename'} with the built-in Platinum Windows printer driver) to include images on printed reports.

"^{I" + S63 + ",,25}" prints the default image (with a height of 25mm).


Parameters

id
A numeric parameter that can be omitted (it defaults to "0").
The identification number of the image to print from 1 to 999. A value of 0, or if the parameter is omitted, will give the designated default/favourite image.

Returns

A text value whose typical size is 90 characters.

See also

$FILENAME.