PV Ramone
28th October 2008, 18:28
Seems like the handling of text fields has changed in BaanIV. Some of our code does not work after upgrading to service pack 24 (coming from service pack 16).
The following report script code used to work fine before and not does not seem to concatenate ...
field.tcmcs041.txta:
before.print:
validate.textline()
lattr.prline = lattr.prline & " " & tdsls040.refb
|*** functions *****************************************************************
functions:
function validate.textline()
{
if ( lattr.prline(1;1) = ">" ) then
lattr.prline = lattr.prline(2)
else
if ( lattr.prline(1;1) = "<" ) then
lattr.print = false
endif
endif
The following report script code used to work fine before and not does not seem to concatenate ...
field.tcmcs041.txta:
before.print:
validate.textline()
lattr.prline = lattr.prline & " " & tdsls040.refb
|*** functions *****************************************************************
functions:
function validate.textline()
{
if ( lattr.prline(1;1) = ">" ) then
lattr.prline = lattr.prline(2)
else
if ( lattr.prline(1;1) = "<" ) then
lattr.print = false
endif
endif