Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Link Access Datebase to SQL database in Crystal 8

Status
Not open for further replies.

JDMiller

MIS
Feb 17, 2004
60
US
I am liking an Access database to a SQL database by part nbr. Both fields are indexes. Crystal only allows and equal join. Why? Can I get around this?
 
Hi,
It is not Crystal, it is the ODBC drivers and/or differing database structures that do not allow it.
Bring the SqlServer ( Not just SQL, that is a language, not a database) data into Access.

( Or the Access data into SqlServer )



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Sure, instead of using Crystal to do this, take the long haul approach, plus improve performance by LINKing the tables into an Access database, either the existing one or creat a new one and link both the current Access DB and the SQL Server db into it.

To do so select New in the tables sectiona nd select Link. Link to the data source (make sure you select save password) and you'll have all of the tables in one Access database.

Now create a query in Access as your Crystal datasource.

This has multiple advantages, not the least of which is that it's available to any tool which can read in an Access database.

Also make sure that you turn on the database show views in Crystal to use an Access Query.

-k
 
I should have qualified and staed don't "bring the data into Access" (nor vice-cersa) as Turk suggests, use the LINK, not Import.

That way it's always dynamic.

-k
 
Hi,
Correct - Link for dynamic data that needs to be 'live'.
If periodically extracted data is sufficient, however, actually importing the data on a scheduled basis, may make the report faster..







[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Ahhh, good point, Turk.

Imported data shoudl be much faster, and you can index it as well.

-k
 
Thanks for all your responses. I started in Access. Sounds like I should just keep the process in Access.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top