Gigaman
15th January 2006, 09:16
Here, I met problem when report customization. Environment is baan v 5.0c.
I want to customize the Purchase report tdpur440101000 and display purchase order no., supplier name, and supplier address on the header of the paper. This is a normal and easy customization as everybody think, and I think so. I make a new report linked to the session and maintain layout and write script as below,
----------------------------------------------------------
select tdpur400.otbp
from tdpur400
where tdpur400._index1={:tdpur400.orno}
selectdo
select tccom100.*
from tccom100
where tccom100._index1={:tdpur400.otbp}
selectdo
select tccom130.*
from tccom130
where tccom130._index1={:tccom100.cadr}
selectdo
endselect
endselect
rprt_send()
endselect
----------------------------------------------------------
I complied the report and found no errors and warnings. But address of the supplier cannot be displayed correctly. Whatever the supplier is, the address is all the same. I don't know way.
Anybody can give me advice? Thank you.
I want to customize the Purchase report tdpur440101000 and display purchase order no., supplier name, and supplier address on the header of the paper. This is a normal and easy customization as everybody think, and I think so. I make a new report linked to the session and maintain layout and write script as below,
----------------------------------------------------------
select tdpur400.otbp
from tdpur400
where tdpur400._index1={:tdpur400.orno}
selectdo
select tccom100.*
from tccom100
where tccom100._index1={:tdpur400.otbp}
selectdo
select tccom130.*
from tccom130
where tccom130._index1={:tccom100.cadr}
selectdo
endselect
endselect
rprt_send()
endselect
----------------------------------------------------------
I complied the report and found no errors and warnings. But address of the supplier cannot be displayed correctly. Whatever the supplier is, the address is all the same. I don't know way.
Anybody can give me advice? Thank you.