Click here to Skip to main content
15,880,503 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
HI there
I have been trying to connection my data with crystal report,
Finally I can do it with static connection e.g. D:\study\VB.Net\School Management\data\db.mdb this is my database connectin. BUT when I run this report on another PC. path have been mismatched, report could not find database file path

So, How can i change database path on run time. I need this on ASAP basis my school project submission date is very close. any help will be appreciated
Posted
Updated 3-Jul-14 23:45pm
v2
Comments
CHill60 4-Jul-14 7:32am    
How are you assigning that static connection?
Keval Savani 4-Jul-14 8:12am    
I have created static connection using Dataset. When i open crystalreport1.rpt, I see tables in left side , which i have choose from data set. Now point is when I migrate my project to another folder or other PC, reports ask for old path and here I want to create dynamic connection for report which might be created on Form Load or Button Click etc, and being good programmer that can not be let happened.
If you have any help or clue to solve this please help me with that

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900