Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Multiple Database report question Post Reply Post New Topic
Author Message
zartan2k
Newbie
Newbie


Joined: 18 Feb 2013
Online Status: Offline
Posts: 1
Quote zartan2k Replybullet Topic: Multiple Database report question
    Posted: 27 Feb 2013 at 5:47am

A colleague of mine used a technique in a multiple database report that works, but that he cannot adequately explain to me. I’m hoping someone here can shed some light on this one. In the following description, tables A and B are in different databases. The report acquires a list of invalid IDs from table B and uses these to filter (exclude) information drawn from table A. The report first defines a formula “X” as follows.

IF {A.ID1} = {B.ID2} THEN “Y” ELSE “N”

Then in the record selection formula we fine the following.

IF {@X} <> “Y” THEN “evaluate more selection criteria on table A columns”

This works, but I don’t understand why. It seems that some kind of iteration needs to happen when evaluating formula “X” for each A.ID1 value.

 
Thanks,
Zartan
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 01 Mar 2013 at 3:36am
Are the tables joined on the ID fields in the Database Expert?
 
-Dell
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.