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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accpac DLL and Crystal Reports 10

Status
Not open for further replies.

irenavassilia

Programmer
Jun 19, 2007
101
Is it possible to connect to an Accpac DLL through Crystal Reports version, because when i try to run my Crystal report which is connect to a A4WUDP.DLL it tells me the database DLL 'crdb_p2bpipe.dll' could not be loaded.

I have tried registering the dll and it wont allow me says the DllRegisterServer entry point was not found. This file can not be registered.

Does anyone know what I can do to fix this problem?

Thanks alot.
 
You need to set the password to Saminc (or Samltd) in the datapipe.ini (parameter P3) for the module you're working with.
 
Some Accpac Crystal reports use a DLL as datasource, these are known as datapiped reports. The Accpac DLLs are special programs written by Accpac to perform data processing and calculations not possible or practical within reports, or just to speed up reporting.
I'm not sure about a4wudp.dll, I could not find it, but to be honest I did not search very hard.
So to answer your question, if the DLL is a datapipe for a report then you can use it in Crystal, if it is not a datapipe DLL (for example program DLLs in the application folders) then it cannot be used in a Crystal report.
 
Hi Tuba,

The password has already been set up to Samltd in the datapipe.ini file.

This is it am i correct?:

[A4WUDP.DLL]
query="A4WUDP"
P1=SamLtd
P2=ADMIN
P4=ENG

The report still cant find the crdb_p2bpipe.dll, tells me database could not be loaded.

Thanks.
 
Let's step back... What are you trying to do to that report, and which report is it?
 
Hi tuba,

Its report AR3000 and i want to make it into a subreport where i can link it to the main report and pull the username out of the subreport matching the userid from the main report table.

Regards,

Irena
 
So if I understand you correctly, you want to print Accpac user names on a report. You cannot pull the user names from where they are saved, since it is saved in USERS.ISM, which is an ISAM file and not a table in the database.
You cannot use AS3000 as a subreport, it is just not going to work.
What you can do is save the user names in an Optional Table. Export the user id and user name, then import into an optinal table, or write a macro to do that for you. Both are fairly simple.
Link to the Optional Table in your report and you will be able to pull the user name. The Optional Table will have to be maintained when users are added.
 
Yes I've done that, not in the optional table though. We just chose a field thats not being used within the POPORH1 table, so theres alot less complications.

The macro i have created too :)

Just thought that you could do it with the dll, but i guess not.

THanks.
 
OK, so you have a solution.
The A4WUDP.DLL does not work in a subreport, been there as well and tried 100s of things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top