Solved

Crystal Report combining Access and Oracle DB > Can I pass back data to Access

Posted on 2003-11-21
4
240 Views
Last Modified: 2006-11-17
I have a crystal report that combines data that is in an oracle db and an access db. The oracle db is the main portion of the report and the access db is enclosed in a subreport. Thus it shows all records from the oracle db and those records from access where there is a match in the linking field. I need to be able to find out what records in access do not have a match. Can Crystal write back into the access db? Any other ideas?
0
Comment
Question by:kphockey2
4 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 63 total points
ID: 9802377
You cannot write into the Access database.

But if you are able to link the two sources then you could produce a report showing Access records which have no matching Oracle record.  It is possible to export these results as an Access table.

Use an outer join (left outer assuming Access is 'on the left' .You select records with a null key field from the Oracle record.

Pete
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 62 total points
ID: 9808112
From my understanding, it may be possible for CR9 to update the Access database.

Generally speaking though joined recordsets are not updatable.

To show the records in access with no corresponding record in Oracle, you need to reverse the join making the Access table the master.

Select AccessFields From
AccessTable LEFT OUTER JOIN OracleTable ON
AccessTable.KEY = OracleTable.Key
WHERE OracleTable.Key  IS NULL

mlmcc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Combine and display field 5 73
Crystal Reports Date Formula Failure 26 94
VS2010 and Crystal Reports Loading Image at runtime 8 64
Crystal Reports 13 5 44
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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 …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 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

19 Experts available now in Live!

Get 1:1 Help Now