Solved

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

Posted on 2003-11-21
4
236 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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

10 Experts available now in Live!

Get 1:1 Help Now