Solved

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

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

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

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. …
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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