$fieldname return PROCERR[<UPROCERR_FIELD>]
Author: marco.aquino@dedalus.eu (Marco)
Hi,
I found this error that in U8 did not appear.
The value of $fieldname return PROCERR[<UPROCERR_FIELD>] instead of name of field.
This appear when a setocc on other entities is performed.
Then if a new test on it like if (@ $ fieldname! = "") or assignment @$fieldname=$$VAR crashes Uniface.
Example like this
Detail trigger on a field:
call lf_proc
if (@$fieldname="")
return -1
end if
return 0
the entry proc:
entry lf_proc
setocc "ent",1
while($status > 0)
...something...
endwhile
end
The $fieldname change value after a setocc instruction and the uniface crashes on "if" statement or at the end of trigger if I used an assignment.
Windows XP or Windows server 2003 R2 32bit
Uniface version 9.4.0.1 R117 or R124 also
Marco



