Click here to Skip to main content
12,070,351 members (46,062 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
Dear friend, my company gave me an application to complete with crystal report. I am through with the project. It remain how to create crystal report with the mdf file. I have tried every means to create crystal report from the mdf file to no avail. So I want you guys to lead me through to create crystal report from mdf file. Thanks you very much.
Posted 6-Jun-12 5:13am
Comments
db7uk 6-Jun-12 10:38am
   
This is an SQL server mdf? if so you can not (to my knowledge) connect directly to the database. You need to connect to the SQL instance the database is attached too. Is this SQL express or SQL server? What have you tried?

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Connecting directly to the MDF file with Crystal Reports is not possible. You need some sort of SQL engine to actually run the database. You can attach it to a SQLExpress instance (if it fits inside the requirements of SQLExpress) or you can attach it to full SQL.

Here is a post on how to do this:

http://social.msdn.microsoft.com/Forums/eu/vscrystalreports/thread/cd02d47f-08ec-4397-bd1a-6d2b127c79cc[^]
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160208.1 | Last Updated 6 Jun 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100