Arnold Magno
18th May 2005, 11:50
Hi,
Is there anybody who can help me show how to use the tccomdll0010
functions. I'm trying to revise a script but can't understand how those
functions behave. Thanks a lot...
Regards,
Arnold
baanbomb
18th May 2005, 12:07
is it a DLL? (ttadv2131m000)
in session ttadv2100m000 , add it to ttadv2130s000 subsession (libraries).
then you can use the functions contain in it
Arnold Magno
18th May 2005, 13:40
Hi,
Yeah its a DLL and it already accesible in my script but my problem is
i don't know how to use the functions like tccom.dll0010.open.report()
and tccom.dll0010.print.record(). Do u have any ideas how to use these
kindly help pls? Thanks.
Regards,
Arnold
Youp2001
18th May 2005, 14:19
What Baan version are you talking about. Is this Baan V? In that case you could try and run session ttstpbaandoc for this library. It will generate a HTML page with the functions of the DLL, a short description of the functions and input / output arguments.
Hope this helps.
Youp
baanbomb
19th May 2005, 03:28
hi,
see the srcipt in session ttadv2131m000.you can use these functions contain in it just as the same you declared in you program script.
tccom.dll0010.open.report(variant1[,variant2....])
Arnold Magno
19th May 2005, 04:09
Hi,
Here's part of the script im tryin to understand. It uses the variable
error.message declared as extern string. I just want to know if the value
assigned to this variable is used by the function tccom.dll0010.print.record and printed as the detail records. Need some help thanks.
|*This is how it opens the report
if not tccom.dll0010.open.report(1, "", 1, 2, 1) then
job.process.error = true
return
endif
|*This is how it sends records for the report
error.message = sprintf$("Error opening Operation Rates file " &
"%s", file.path1)
tccom.dll0010.print.record(1)
Regards,
Arnold
v_chandra
19th May 2005, 07:40
Hi
This DLL is used usually to open and close reports, and its taking the arguments like report group, report name ex (rtijwx00000), report number and device i suppose, if you know the details just pass on to this DLL and check, I'll try to get you the right sequence of parameters to be passed as soon as i get it.
Try this sequence :
function extern domain tcbool tccom.dll0010.open.report( ... )
{
DllUsage
Expl: - It is used for opening reports
- As many as 10 reports can beopened which is the max. limit
Pre : - No conditions are required
Post: - Returns a value true if a report is successfully opened
Input : The function accepts variable no. of arguments
A max. of 5 arguments can be passed to the function. The
arguments are described below
i.report.number -> Report Number to be opened
i.sp.device -> Name of the spooling device
i.open.mode -> The mode in which the report is
opened
i.curr.language -> Language in which the report is
opened
i.curr.group -> The group to which the report belongs
Output : Returns a boolean value tru
Rita Kotecha
19th May 2005, 14:24
Hi,
Please see if the enclosed document can help you.
Regards
Rita
Arnold Magno
20th May 2005, 09:48
Hi,
THANKS to you all!!! All the info you have given me will sure help...
Regards,
Arnold
:)