Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Xapi to load financial reporter?

Status
Not open for further replies.

troyddaniels

Programmer
Jan 11, 2007
28
US
I've printed the macro in Accpac, but the code isn't 100% compatible with the Xapi format. Is it possible to load accpac's financial reporter outside of accpac?

Also I've noticed that if I include the reference "Financial Reporter COM Addin" I eliminate some of the errors in the script. But my understanding is that these functions won't ultimately work unless used within accpac itself.

When using this with xapi it get's hung up on - glfrrpt.CmdFRPrintEx mDBLinkCmpRW, "preview", 1, "", "", 0" - obviously because of mDBLinkCmpRW, but I don't know what to replace this one with, or if it's all wrong together.
 
Which version of Accpac?
Are you really using the XAPI?
The following line is COMAPI, you cannot use the same syntax in XAPI:
glfrrpt.CmdFRPrintEx mDBLinkCmpRW, "preview", 1, "", "", 0"

I have never tried printing FR in XAPI, I have actually not used XAPI in many years, so I cannot offer any advice there.
 
Now that I think about it, XAPI did not support FR, you have to use COMAPI to run FR reports.
 
I'm using 5.3a. I've also come to your conclusion that XAPI won't support FR. I eventually got it to load but I had to use COMAPI.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top