Click here to Skip to main content
15,895,370 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hai

I have a modification in website for database,actually it will create with access(.mdb) file,i will change to sql server and i change coding ,but in report fields or still in access database,i need to change sql sever without changing the link ,if i remove access(.mdb)connection all fields are removed form crystal reports,so i need to change Access connection to SQL server connection without removing fields in crystal report.

if i remove access and change connection to sql and again drag and drop fields into report it works,but it have more 10 crystal reports and use more than 5 tables in each reports and also i am not create crystal report with access database , so i don't know table links and fields for each reports.

The only way is remove access connection and connect sql server and need to redesign crystal report with dragging fields ? ? ?

Regards
Aravind
Posted

This is why should go with PUSH method[^] which is independent of backend

I never tried this but check this solved thread
Changing datasource location and type at runtime in a Windows Forms app[^]
 
Share this answer
 
Comments
Aravindba 6-Mar-14 2:32am    
Hai
thank u for ur reply push method link used for create report in 2 way,second link is change the server side coding for crystal report,actually i already did,now i want in crystal report design time,bcz if i remove database connection form crystal reports all dragged fields are erased.so if change sql connection i don't know which table and is fields are dragged into crystal report?

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