| Ruth,
I was using TPU.
I have just installed V 2.2 on another system and i can reproduce it....
In fact when i get the second error message it's not an syntax error
but the following one :
Form translation of WORKD$:[TEBOUL]FORMS$MBX_043D.IFDL;2 failed.
Error opening !AS as output
If i use LSE i get an access violation :
Access violation, reason mask=A5, virtual address=03C00000,PC=000F0230,
PSL=000F2F91
here is the exact scenario to reproduce it :
1) $Form develop NewForm
2) SELECT 'YES' icon to create a new form
3) Select 'Edit Data' icon to create form data
4) Add the following code :
form data
C1 characte(1)
end data
5) Hit 'F10'
6) You get the syntax error message:
Form translation of WORKD$:[TEBOUL]FORMS$MBX_043D.IFDL;1 failed.
Syntax error; an expected keyword, name or literal is missing or
misspelled.
7) select 'Edit Again' icon to correct your code
(modify from characte(1) to character(1))
8) Hit 'F10'
9) You get a successfull message
Translating File: WORKD$:[TEBOUL]FORMS$MBX_043D.IFDL;2
Form Translation successfully completed.
10) Select 'Edit Data' icon to add a new data
Type : C2 characte(1)
11) Hit 'F10'
12) You get the syntax error message:
Form translation of WORKD$:[TEBOUL]FORMS$MBX_043D.IFDL;1 failed.
Syntax error; an expected keyword, name or literal is missing or
misspelled.
13) Select 'Edit Again' icon to correct the syntax
Modify from Characte(1) to Character(1)
14) Hit 'F10'
15) You should see....: (with tpu editor)
Form translation of WORKD$:[TEBOUL]FORMS$MBX_043D.IFDL;2 failed.
Error opening !AS as output.
If using LSE you would get the access violation.
Hope this can help !!
Thanks a lot ,
Alain.
|
| Alain,
I was able to reproduce this only by setting a version limit of 1 on
the directory specified by sys$scratch. That directory is used to
create a temporary file during the translation of the form. Could you
check to see if this is the cause of your problem? If it is, either
change the version limit on the directory or define sys$scratch to point
to another directory.
Thanks,
Ruth
|