Version 3 TCL Subroutines - Creating Tables

Published ByDateVersionKnowledge LevelKeywords
Sprezzatura Ltd01 DEC 19923.0+EXPERTMAKETABLE_SUB, MAKE, TABLE

MakeTable_Sub

To create tables programmatically the subroutine MakeTable_Sub has been added. This takes five parameters as follows -

   MakeTableSub(Location, TableName, V3, V4, AttachFlag)

where

LocationThe location of the table being created
TableNameThe name of the table being created. If a new account is required append *Account name onto the table name.
V3/V4Unsure at time of going to press
AttachFlagWhether the table ought to be attached after creation, true or false.

If the creation fails then @File.Error will be loaded with the reasons for error @RM delimited along with accompanying information for insertion into the message. Errors likely to be encountered are

S140Not allowed by this version of AREV
S141Missing parameter
W506Unable to create table

(Volume 4, Issue 7, Page 7)