brad997
30th December 2005, 11:04
Can anyone please help?

I am using Baan LN6, and have this report but do not come with any address field.
I intend to use the "standard" tccomdll4030 (Description = Address, script type = general library).
So I insert this dll record to the "Libraries by Report Script (ttadv31400s000) to the report (for info initially there is no record).
Then in the report layout, I insert say a field, otbp.addr(1,1) in the header section.
I compile the report.

However, the address is not displayed. What when wrong?
How to use the Libraries by Report Script for those dll ?

greasedman
30th December 2005, 12:23
Edit its report script, then call that dll in section before.layout of its address layout.

Make sure your field match dll variable name of address.

brad997
2nd January 2006, 13:53
dear greasedman,
Thanks for your reply.
How to write the call in the script?

mr_suleyman
2nd January 2006, 14:44
Hi , you can declare your DLL in declaration part of report like followings. After that you can use dll functions in any layout you want .

declaration:
#pragma used dll /bse/tools/ttB40_c1/ottdll/odllbw

GOOD LUCK !!!

bdittmar
2nd January 2006, 18:13
Hi , you can declare your DLL in declaration part of report like followings. After that you can use dll functions in any layout you want .

declaration:
#pragma used dll /bse/tools/ttB40_c1/ottdll/odllbw

GOOD LUCK !!!


Hello,
what's when path to BSE is different ?

If your BaaN Environment is set up correctly !


Only

#pragma used dll odllbw[/B]

in declaration section.

Regards

greasedman
2nd January 2006, 18:42
dear greasedman,
Thanks for your reply.
How to write the call in the script?

I don't have knowledge about that dll, but it'll something like that on report scripts:

detail.xx:
before.layout:
tccomdll4030.call.this.wonderful.dll(cuno, cdel)

where xx is your detail layout and "tccomdll4030.call.this.wonderful.dll" the function name of your dll.

:)

mr_suleyman
3rd January 2006, 08:03
Hi Bdittmer , you say true ! but in our system , It doesn't work in your usage.
Do you know that which configuration should be done for your suggestion ?

Thank you !

KaasKarthik
23rd November 2020, 15:18
hello all,
i had some issue,
for opening report i use tccom0010.open report () and close report in between these two sentences ,the messages whatever i give that was not displayed.
here i attached my code.




choice.print.data:
on.choice:
message("main0000")
if tccom.dll0010.open.report(
1,
"",
1,
language$,
1) then
message("maiN1111")
if process.move.file.request() then
message("end")
choice.again()
endif
else
choice.again()
endif
after.choice:
tccom.dll0010.close.reports(3)
message("bye'\")

inside the function also i gave some messages but these was not displayed what may be the reason,but i got the last (bye message) after printing //print function.