Print Page | Close Window

MS Access 2007 connection with crystal reports

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=18958
Printed Date: 27 Apr 2024 at 8:19pm


Topic: MS Access 2007 connection with crystal reports
Posted By: jagbir
Subject: MS Access 2007 connection with crystal reports
Date Posted: 27 Jan 2013 at 10:09pm
i m using crystal reports10, ms access 2007 database,visual studio 2008.  i add new crystalreport and add   connection for access 2007 database under "OLE DB(ADO)". it works fine. but when i run my project on another machine. it gives an error of database path. i know it is because during crystal report wizard ms access path is like "c:\abc\data.accdb".


thanks



Replies:
Posted By: hilfy
Date Posted: 28 Jan 2013 at 6:49am
Are you setting the DataSource for the report in your code?  If not, then you need to do that so that the report will connect to the correct data.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window