SIMPOL Documentation

create_sbme1table_from_db1table()

Description

This function examines the file definition of the db1table passed and creates a new table with the same definition in the sbme1 file that was passed. Only characteristics that are appropriate for sbme1table will be taken across (ie. no field formats, just data types). Returns 0 if successful, otherwise one of several possible error messages.

Prototype

create_sbme1table_from_db1table ( type(db1table) dbSrc, type(db1base) sbmFile, string sNewTableName, boolean skipindexes, boolean createextendedinfo )

Parameters

ParameterDefault valueType nameDescription
dbSrcNonetype(db1table)
sbmFileNonetype(db1base)
sNewTableNameNonestring
skipindexes.falseboolean
createextendedinfo.trueboolean