Solved

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

Posted on 2003-11-21
4
243 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Query Builder on BOXIR2 7 63
Formula to get month and year from date 5 60
String to Date Formula Failure 2 49
Crystal Reports Swap Columns 2 57
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. …
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 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