erdalmutlu
30th April 2008, 10:53
Hi all,
I am new in Baan programming and I am trying to use input fields in a report script, but when I debugged the program I found out that the fields are not the ones I intended to have.
Here is the report script:
declaration:
table ttftls014
extern domain tcqiv1 total
before.tftls020.vodt.1:
before.layout:
total = 0
select
tftls014.blnc
from
tftls014
where
tftls014.argt = :tftls015.argt and
tftls014.ccur = :tftls020.ccur and
tftls014.tlid = :tftls020.tlid and
tftls014.date = :tftls020.vodt
selectdo
total=total + tftls014.blnc
selectempty
message("Empty select")
endselect
Do I need to declare something?
Best regards.
Erdal Mutlu
I am new in Baan programming and I am trying to use input fields in a report script, but when I debugged the program I found out that the fields are not the ones I intended to have.
Here is the report script:
declaration:
table ttftls014
extern domain tcqiv1 total
before.tftls020.vodt.1:
before.layout:
total = 0
select
tftls014.blnc
from
tftls014
where
tftls014.argt = :tftls015.argt and
tftls014.ccur = :tftls020.ccur and
tftls014.tlid = :tftls020.tlid and
tftls014.date = :tftls020.vodt
selectdo
total=total + tftls014.blnc
selectempty
message("Empty select")
endselect
Do I need to declare something?
Best regards.
Erdal Mutlu