Version 3 Technical Highlights - Creating New Accounts Programmatically
Published By | Date | Version | Knowledge Level | Keywords |
---|---|---|---|---|
Sprezzatura Ltd | 01 NOV 1992 | 3.0+ | EXPERT | MAKEACCOUNT_SUB, MAKE, ACCOUNT |
MakeAccount_Sub
The subroutine responsible for this is called MakeAccount_Sub and takes four parameters as follows
MakeAccount_Sub(AccountName, LocationName, UpdateList, Options)
where
AccountName | The name of the account to create. |
LocationName | The name of the location where the account base tables ought to be stored. |
UpdateList | The name of the row in SysEnv which stores the list of tables and rows to move into the new account location. If this is left blank the NewAccountList row will be used. The format of the row should be as described above. |
Options | Pass an S to suppress message display while the account creation proceeds. |
If the creation process fails Status() will be set accordingly and @File.Error will contain an @Rm delimited set of reasons.
(Volume 4, Issue 6, Pages 8,9)