ravi99
13th March 2013, 04:34
Hi,

I have a Baan report. One of the field values , some times prints wrong value and other times it prints correct value. I am not able to find out the root cause, can someone explain/point to the cause?

Thanks

bhushanchanda
13th March 2013, 05:26
Hi Ravi,

Try using db.set.to.default(tablename) before calling the table from which you are getting the report field.

e.g.

db.set.to.default(ttcibd001)

select tcibd001.*
from tcibd001
where ...
selectdo
endselect

And if its an extern variable, always clear(initialize) it before using it in any Select statement.


Regards.

JaapJD
13th March 2013, 11:41
Some screenshots with the original data and how it is printed on the report, would help.