Version 3 Technical Highlights - Creating New Accounts Programmatically

Published ByDateVersionKnowledge LevelKeywords
Sprezzatura Ltd01 NOV 19923.0+EXPERTMAKEACCOUNT_SUB, MAKE, ACCOUNT

The subroutine responsible for this is called MakeAccount_Sub and takes four parameters as follows

MakeAccount_Sub(AccountName, LocationName, UpdateList, Options)

where

AccountNameThe name of the account to create.
LocationNameThe name of the location where the account base tables ought to be stored.
UpdateListThe 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.
OptionsPass 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)

  • tips/revmedia/v4i6a11.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1