Function DbCargo() Foundation

Attaches an arbitrary value to a used work area

Syntax
DbCargo( [<xNewValue>] ) --> xOldValue
Parameters
<xNewValue>
<xNewValue> is the value to attach to a work area.
Return

The function returns the value attached to a work area before the function is called.

Description

The function DbCargo() attaches an arbitrary value to a used work area. The value remains in the work area, even if the work area is exchanged between work spaces using the functions DbRelease() and DbRequest(). In this way, user defined data can be bound to a particular work area. Attached data is discarded when the database is closed in the work area.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.