I still need help trying to write a form menu script into the repository. When the following Basic+ command is run:
REPOSITORY('NEW','APP*OIEVENT*MENU*FORM.MENU.FILE.SETUP',
,1,1,
,,
,'','FILE.SETUP','call Utility("PRINTERSETUP")')the Get_Status(Err) function returns 1 and Err is loaded with:
'REP110':@vm:'APP*OIEVENT*MENU*FORM.MENU.FILE.SETUP'
and the repository shows the entity but no record exists in the SYSREPOSEVENT file.
Whats it trying to tell me?
REP110 means that the repository entry already exists. Make sure it is gone from SYSREPOS, EVENTS AND EVENTEXES files.
Tony
Terry,
For the meaning of error messages see text file REVERROR.DAT.
- Oystein -
But isn't "NEW" supposed to overwrite any existing entry?
Terry,
I believe there is a WRITE that does that. (There is also an UPDATE if I remember correctly. One calls the other – write-]update or update-]write.)
Cameron Purdy
Revelation Software