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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pervasive / Crystal report / Ms ACCESS

Status
Not open for further replies.

LBC2

MIS
Aug 28, 2012
13
US
I am using Pervasive and Crystal report without any problems. Pervasive 10, and Crystal 11 by the way.
To do some reports I sometimes extract my data and put the tables in an MS Access Db.
My crystal report is using an ODBC connection to the Pervasive, and the MS Access, so I just change link when I need.

My problem ,big problem, is that some reports that work when I hit Pervasive do not work at all when I hit the MS Access.

Is there any way to convert the Pervasive tables to Ms Access and avoid this kind of problems.
Thanks for any input because I am out of ideas.
 
What error are you getting from Access?
As far as your question about converting a table, within Access, you can either Link a table or Import the table. If you Link the table, it's still pointing to the original source. If you Import the table, it will be Converted to an Access table.

Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
 
Actually I do not get an error.
This is what I do.
Using an ODBC connection I import the required table(s) in Access. I do not see any problems in the new Access table.

I take a Crystal report working against the Pervasive database, and using another DSN I change the link to the Access database.

If I run the Crystal report against the Access Db, I do not get the same result that if I run it against the pervasive Db.

The Crystal report do not change, the Pervasive and Access data are the same- just the ODBC was changed.
This is the problem I have.

It looks like when I hit the Access DB I only get part of the result I get from the Pervasive..

Hope I am explaning it well.
Thanks
 
If you are getting different results running the query against the Access tables, the problem might be in the way Access handles the query. Rather than focus on the difference, which query is returning correct data?
You might start taking the restrictions off the queries until they match so you can find out what is causing the difference.


Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top