tsanchez
5th February 2002, 20:19
Hello there. I've received the above message "Error -2 during
seq.unlink file "e:\baan4\tmp\tmp0600450722" while compiling
a report. I now I've confronted the same problem sometime ago
but I just can't remember how right now. Anybody ?
Thanks for all.
Tomas Sanchez Tejero
tsanchez@consultant.com
mark_h
5th February 2002, 20:47
Usually there is another tmp file that has the compile messages in it. I do not know exactly what error -2 is, but I have seen something like this when an event gets mis-spelled in the script. Does it have a script? I usually go look at the other tmp file that has the compile messages in it. I just can not seem to remember where the message was on the compile, it has been a while since I have seen an error like this.
Mark
Youp2001
5th February 2002, 21:58
-2 is the error code from the operation system. Normally an error 2 means 'No such file or directory'.
Apperently the file is already deleted somehow??
shah_bs
5th February 2002, 22:21
This error comes when there is a mismatch between the declaration of a field in the Maintain Input Fields and how the report layout is painted.
Just recompile the report in DEBUG mode and read the compiler output carefully. Usually, it points exactly to the field causing the error.
Otherwise, if the compiler output does not help, you probably have a long day ahead! Inspect each field in the layout editor and see if there is (usually) the domain missing.
tsanchez
6th February 2002, 12:24
Thanks all for your quick and helpful answer. It was
easy to spot the troublesome field after debugging.
Anyway it's curious compiling didn't help this time.
The same messages could have been shown both
ways. Or not ?
Read you soon.
Tomas Sanchez Tejero
tsanchez@consultant.com