contents.gifindex.gifprev1.gifnext1.gif

Class_Save

Purpose

Class_Save uses the map described in CLASS_OUTPUT_MAP to control the mapping of properties to table fields. It returns False if the Save worked and True if an error occurred. In addition, in development mode, a variabled named <Class_Name> followed by " <output map>" is saved which describes the actual map used.

Arguments

Class_Save(

<FileName>
// <FileName> and <TableName> taken together act identically to their use in other Lookup and Save functions. They serve to describe a target table where the properties found in <Class_Name> are to be saved.
<TableName>

<ClassName>
// The name of an existing class previously created using Class_Create() or Function_Create().
<Instance>
// Describes which instance is to be saved. Null or 0 implies the current instance. These are the only values supported at this time.
<SaveType>
// Must be either "Overwrite", "CreateUpdate", or "Update". Null is interpreted as "Overwrite". "Overwrite" causes all files in a record to be overwritten, including those which are not in the map. "CreateUpdate" causes only those fields defined in the map to be updated. "Update" is like "CreateUpdate" except that an error is generated if the record does not previously exist.
)