Solved

Crystal Reports New Connection to ODBC database is BLANK

Posted on 2013-01-29
14
348 Views
Last Modified: 2013-08-16
I have created by ODBC Datasource and when I go into Crystal to make a NEW CONNECTION I select the datasource and say finish but there are no files available.
0
Comment
Question by:kvrogers
  • 5
  • 3
  • 2
  • +2
14 Comments
 

Expert Comment

by:MayurDighe
ID: 38831588
0
 
LVL 77

Expert Comment

by:peter57r
ID: 38831623
When you create an ODBC datasource you usually have the option to test the connection.
Did you do so and did it work?
0
 

Author Comment

by:kvrogers
ID: 38831747
Did not have option to test datasource.
0
 
LVL 77

Expert Comment

by:peter57r
ID: 38831857
Then I don't know what to suggest.
If you can't be sure the ODBC connection is valid I don't know what you do.
0
 
LVL 18

Expert Comment

by:vasto
ID: 38831868
If your machine is 64 bit you need to create the DSN using c:\windows\sysWOW64\odbcad32.exe. Otherwise crystal will nit be able to see it.
0
 

Author Comment

by:kvrogers
ID: 38833026
I am running these reports off my "C" drive.  I have actually 2 folders with the files I need in them.  These are the files from 2 different databases.

Now Folder 1, I can connect and use Crystal.  Folder 2, is the one that I am having trouble with.

I am attaching screen shots of how I set this up.
CTREE2-ODBC.JPG
CTREE-ODBC.JPG
datasource-connection.JPG
NO-FILES-ADDED.JPG
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 100

Expert Comment

by:mlmcc
ID: 38833097
What version of Crystal?

What WIndows version?

mlmcc
0
 

Author Comment

by:kvrogers
ID: 38833193
CR - 11.0.0.895

Windows: 7 Professional.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 38833704
CR 11 is strictly 32-bit.

Also, that is release 1 which was rather quickly replaced by release 2.  It will only run in .Net Framework 1.1.

What is the difference between Folder 1 and Folder 2?

mlmcc
0
 

Author Comment

by:kvrogers
ID: 38834679
One is family practice data and the other is psychology.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 38837926
Are they pointing to different databases or just need to use different tables in the same database?

mlmcc
0
 

Accepted Solution

by:
kvrogers earned 0 total points
ID: 38841786
Well I figured it out.  
1.   In the FAIRCOM folder I have two files.  One called pp.db and one called pp2.db.  These files contain all the file names of the files in the  original database and the location of the folder on my "C" drive where I am running the reports from.  Looks like this: " Ar12cd99  C:\CopyPPart\Ar12cd99.dat " with a line for every file in the pp.db file.  It takes to long to run the report from the server so I copy the files to my "C" drive.
2.    The file called pp2.db holds the same files as pp.db but reads " Ar12cd99  C:\CopyPPart2\Ar12cd99.dat " as this is where the PSY database files are.
3.    In recreating this pp2.db file I must have been missing a file needed to run.  
4.    This time when I tried the NEW CONNECTION it found the files.  
5.    I ran the report the first time with no results.  But then I thought I should update the files on my "C" drive where the report is run and THEN run the report again and this time it worked.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now