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!

Relocation doesnt work properly

Status
Not open for further replies.

DenisLagoda

Programmer
Aug 12, 2002
3
UA
I have two alike reports. So I did one and made the copy of it. Then I "set location" on another SQL Stored Procedure. In Crystal report it worked properly. But when I used ActiveX element to show report the error happened "...with database DLL..."
Why?
What is wrong?
Thank you in advance.
Denis
 
Hi Denis,

What is exact error text?
From what I infer from your question, I think your problem is when you connect to the database.
You have to use
Report.Database.Tables.Item(1).SetLogonInfo(Server,Databse, userid, password)

Then call
Report.Database.Tables.Item(1).Location = "YourStoredProcedure"

Hope this helps, let me know what happens.

cheers,
Techi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top