?
Solved

Crystal Reports ODBC connection to FOX-PRO

Posted on 2005-03-25
9
Medium Priority
?
494 Views
Last Modified: 2008-03-06
I have setup many ODBC connections via crystal reports, but am baffled with FOX-PRO.

The app I am using should use Visual FoxPro 8 ODBC to function properly (per developer of software) They use freestanding tables in foxpro.

Can someone walk me through the proper steps to make the connection work.

Thanks in advance for your help.
0
Comment
Question by:geedub1961
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 13633859
Which version of Crystal?

This may be useful

http://support.businessobjects.com/library/kbase/articles/c2007763.asp

mlmcc
0
 
LVL 1

Author Comment

by:geedub1961
ID: 13634052
I am using version 10.00
0
 
LVL 23

Expert Comment

by:Ido Millet
ID: 13634193
If the Crystal report was created using a File DSN, then connection to free standing tables should be possible even if the PC doesn't have that ODBC setup.  

It sounds like you need to get some clarifications from the application developer rather than from this forum...

Cheers,
- Ido
0
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

 
LVL 1

Author Comment

by:geedub1961
ID: 13634543
This is about as far as I can get from the developer.  

This is all I can get from the developer.
"You need Visual FoxPro 8 and you should be fine.  It will have the ODBC that you need."

Do I need to create a file dsn?   If so when I try, I get error messages at the end of the wizard.




0
 
LVL 13

Expert Comment

by:TommyTupa
ID: 13636525
I believe using ADO rather than ODBC will be the simplest solution because the drivers are easily obtained and confusion over what is needed may be avoided. To use ADO:
1. Download and install Fox Pro OLE DB drivers from here: http://www.microsoft.com/downloads/details.aspx?FamilyId=0F43EB58-7A94-4AE1-A59E-965869CB3BC9&displaylang=en
2. Create a udl file somewhere, e.g. FoxProData.udl.
3. Double-Click on the UDL, in the 'Provider' tab select 'Microsoft Fox Pro OLE DB'.
4. Click 'Next' to move to the next tab and select the 'Free Table Directory' and 'General'.
5. Test your connection.
6. Open Crystal Reports.  Select Connection Type as ADO\OLE DB. and browse to the UDL file.
7. Once you select the UDL file your tables appear.
 
0
 
LVL 1

Author Comment

by:geedub1961
ID: 13636555
I am not familiar with UDL.  Is this setup within windows? Or do I need foxpro to do this?
0
 
LVL 13

Accepted Solution

by:
TommyTupa earned 2000 total points
ID: 13636561
It is setup in Windows.  Simply Create a text file then rename the extension from .txt to .udl.
0
 
LVL 1

Author Comment

by:geedub1961
ID: 13658147
Thanks for your answer.  I was able to connect to a dbf file.   The twist is that the files have extensions other than dbf.     like .A1 and .A2 ect.

When i connect to the files with the a1 and a2  the connection is ok, but no fields show up.   Any ideas on this,

BTW TommyTupa the UDL was great.  I did not know it existed until you showed example.


0
 
LVL 101

Expert Comment

by:mlmcc
ID: 13658354
What happens if you change the extensions to .dbf.  Obviously I would work on a copy of the file.

mlmcc
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

765 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