New to Crystal, seeing duplicate records in my report of the same field

Post Author: trillium
CA Forum: General
I am new to Crystal Reports 10.   I am having to use it with Rational ClearQuest and I am seeing the same problem over and over again and I am hoping someone can help!
Some reports I have created the records in clearquest are displaying only once.   I have started a new report in crystal and for some reason when I perform the report query in rational one record is displaying 2 to three and sometimes four times even though in the database there is only one record.  I have seen this in other reports I have created but I attributed it to multiple values in one field.
Any help on fixing this would be greatly appreciated, I have tried the Suppress Duplicates but it doesn't seem to help except hiding something I need.

Post Author: GraemeG
CA Forum: General
I agree with SKodidine - check your joins and selections to make sure that all variations are taken care of. Here's a simplified version of one that I messed around with for ages when I started on CR:
Table 1 - TRANSACTIONS, Item, date, warehouse, qtyITEMA   AUCKLAND          01/01/07    15ITEMA   AUCKLAND          20/01/07    10ITEMA   CHRISTCHURCH  31/01/07    25ITEMA   OTAGO                15/01/07     5
Table 2 - ITEM MASTER, Item, descriptionITEMA   WINDOW FRAME
Table 3 - ITEM/WAREHOUSE MASTER, Item, warehouse, ABC Class, unit costITEMA   AUCKLAND         MEDIUM USAGE  $5.00ITEMA   CHRISTCHURCH  HIGH USAGE       $5.05ITEMA   OTAGO  LOW      USAGE                $5.00
The report was to show:Item, description, date, qty, movement cost
My joins were:Table 1 - Table 2 on itemTable 1 - Table 3 on item
What I got out was:ITEMA   WINDOW FRAME   01/01/07   15   $75.00ITEMA   WINDOW FRAME   01/01/07   15   $75.75ITEMA   WINDOW FRAME   01/01/07   15   $75.00ITEMA   WINDOW FRAME   20/01/07   10   $50.00ITEMA   WINDOW FRAME   20/01/07   10   $50.50ITEMA   WINDOW FRAME   20/01/07   10   $50.00ITEMA   WINDOW FRAME   31/01/07   25   $125.00ITEMA   WINDOW FRAME   31/01/07   25   $126.50ITEMA   WINDOW FRAME   31/01/07   25   $125.00ITEMA   WINDOW FRAME   15/01/07    5    $25.00ITEMA   WINDOW FRAME   15/01/07    5    $25.25ITEMA   WINDOW FRAME   15/01/07    5    $25.00
Because I didn't make the warehouse part of my Table 1 - Table 3 join, I got a report line for every warehouse in the Table 3 file.
So I changed my joins to:Table 1 - Table 2 on itemTable 1 - Table 3 on item and warehouse
What I got out was:ITEMA   WINDOW FRAME   01/01/07   AUCKLAND          15    $75.00ITEMA   WINDOW FRAME   20/01/07   AUCKLAND          10    $50.00ITEMA   WINDOW FRAME   31/01/07   CHRISTCHURCH   25   $126.50ITEMA   WINDOW FRAME   15/01/07   OTAGO                  5   $25.00
Hope the example helps.

Similar Messages

  • Filtering a Report on the active record of another Report on the same page

    Hello,
    I have a Form and Report on the same page in an APEX app. The interactive report is used for sorting/filtering etc. and the Form is used to present the data for one record at a time, as well as allow updates in selected fields. This was done using the wizards, the little 'edit' button is clicked to change the form to the selected record.
    I also have (or want to have) a second non-interactive report on the page, which displays some records based on the record of the main report that is currently selected and appearing in the form.
    I tried doing a simple 'SELECT fields WHERE link field is equal to main report', but it always says no data found.
    Basically, I need to be able to have a query for the second report that says 'SELECT these fields WHERE the site is equal to the site currently being displayed in the form'.
    When the little pencil/paper 'edit' button is clicked on a report, does this set some ActiveRow or something like this that I can use to filter the second report?
    As you can tell from this post, I am in my database skill infancy, and any literature/pointers on how to achieve this (outside of MS ACCESS...) would be appreciated.

    Okay, I have somewhat got my head around Column Links, and have put the key link field into the URL:
    The value is P4_MDF, and in this URL example it has taken the value of 'WLAH01'
    f?p=880:4:3924084145794812::NO::P4_MDF,P4_ESA_CODE,P4_SITE_NAME:WLAH01%2CWLAH%2CWYRALLAH
    Now I just need to work out how to use this value in the URL to filter the classic report.
    I have used this query:
    SELECT *
    FROM
    "MACHINE_INFO"
    WHERE CCP = :P4_MDF
    As CCP in the report im trying to filter is the same as MDF in the IR that I am clicking the Column Link
    This is the Debug for the 2nd 'filtered' report (which filters everything)
    0.09: show report
    0.09: determine column headings
    0.09: parse query as: EXPAT
    0.09: binding: ":P4_MDF"="P4_MDF" value="WLAH01"
    0.09: print column headings
    0.09: rows loop: 15 row(s)
    I'm slowly getting the hang of this, any assistance would be great!

  • Showing Duplicate records in a report with the count of their occurrence

    Hi Members,
    I am novice to BI. i need your suggestion to achiever one of the functionality. A report is required to be built with columns Incident ID, Task ID, Task Name. The Original report is below:-
    In the above report I have to display only duplicated records once. Distincat records are not required to be shown. That is, if the same no. of Task Name is associated with the same Incident ID then it should be displayed once with the count of their occurrences in a separate column say , Count. For example, the Task 'TASK_MANUAL_KCI'  got 4 times associated with the same Incident ID INC000000001434. Then the report should display this task one time in a report with count 4. Similarly, for INC000000000943 where task 'IPCG Diagnostic Template' got associated 2 times. The Count is 2 for this task.
    Other records should not be displayed in a report.
    Would highly appreciate quick response. Please suggest.
    Thanks,
    Neha Pateria

    I tried this Gill, but result is bit different :-
    Seems some little modifications are needed. Report should be displayed like the below one where it says how many times the same Task is associated with the same incident. Eg. Task 'TASK_CIRCUIT_RESOLVER' is associated with the incident 'INC000000001434' 4 times. 'IPCG Diagnostic Template' is associated with  'INC000000000943' 2 times. Similarly for other records.
    But I really thankful to you for giving me the logic proceed further. I tried  '=RunningCount([Task Name]; Row; ([Task Name]; [Incident ID]))'. It gave me desired results. :-
    But the only thing that needs to be done is to bring the single Task associated with the Incident..
    Thanks,
    Neha Pateria

  • Duplicate column ids in reports on the same page, how can I reference them?

    I have 4 reports on the same page.
    I have added a checkbox column to each one.
    On clicking I want to populate a collection with the value of the id of the corresponding row and then have a button acting on the whole list.
    My code to get the id of the item that contains the value I want is this
    id = 'f02_' + $(this.triggeringElement ).attr('id').substr(4,4);
    But there is an f02_0001 for each report, and the code just finds the first one, rather than the one in the context of the report being clicked.
    <input name="f02" id="f02_0001" type="hidden" value="2072"/>
    <input name="f02" id="f02_0001" type="hidden" value="2052"/>
    etc etc.
    All that is ever picked up is 2072
    They have different table ids but I don't know how to reference the correct ones in my code
    I'm sure it must be something simple, can anyone help
    Cheers
    Mark

    It looks like this:
    I want to click on the check box and get the corresponding value for f02_000X (or could I refer to the class name if I gave it a class)
    There are several tables with the same format as below so it needs to work out the table id in the reference.
    <table id="report_R1641794306363434600" cellspacing="0" cellpadding="0" border="0" summary="">
    <tbody>
    <tr>
    <td></td>
    </tr>
    <tr>
    <th id="BOX"></th>
    <th id="Name"> </th>
    </tr>
    <tr>
    <td colspan="11">
    <table width="100%" cellspacing="0" cellpadding="1" summary="" style="border-bottom:1px #959562 dotted;">
    <tbody>
    <tr>
    <td valign="top" nowrap="nowrap" style="padding:1px;"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td headers="BOX">
    <label class="hideMeButHearMe" for="f01_0001"> </label>
    <input id="f01_0001_01" class="boxhop" type="checkbox" onclick="if (this.checked) {apex.jQuery('#f01_0001').val('Y');} else {apex.jQuery('#f01_0001').val('');}" value="Y" name="f01_NOSUBMIT">
    <input id="f01_0001" class="boxhop" type="hidden" value="" name="f01">
    </td>
    <td headers="Name">
    Administrator
    <input id="f02_0001" type="hidden" value="2072" name="f02">
    </td>
    </tr>
    <tr>
    <td colspan="11">
    <table width="100%" cellspacing="0" cellpadding="1" summary="" style="border-bottom:1px #959562 dotted;">
    </td>
    </tr>
    <tr>
    <td headers="BOX">
    <td headers="Name">
    Angela Murray
    <input id="f02_0002" type="hidden" value="2082" name="f02">
    </td>
    </tr>
    <tr>
    </tbody>
    </table>

  • I'm trying to multi-track using an m-audio device, I can record my guitar fine. However, I want to create a new track so I can record an acoustic tambourine over the top. Instead it records the original guitar as well as tambourine? its really annoying

    I'm trying to multi-track using an m-audio device, I can record my guitar fine. However, I want to create a new track so I can record an acoustic tambourine over the top. Instead it records the original guitar as well as the tambourine coming out with a really distorted sound. I've managed to record over the top of a guitar before and add diferent riffs and sounds but I've tried all of the settings but its still not working. Basically I want to record different tracks without it recording my previous guitar riffs as well. Help would really be appreciated.

    Ah that was it, thanks a lot common sense really but thanks for the help

  • I was going to update to this new application and see many negative this , that it slow the comp, dont see word document etc

    I was going to update to this new application and see many negative this , that it slow the comp, dont see word document etc

    And, your question is?

  • Messages has replaced all my text with a load of letter A's in boxes. What is that all about. When I type a new one it is fine until I hit enter then the same thing applies. Has anyone a fix for this?

    Messages has replaced all my text with a load of letter A's in boxes. What is that all about. When I type a new one it is fine until I hit enter then the same thing applies. Has anyone a fix for this?
    Picture below, many thanks for your help.
    Jason

    Back up all data before proceeding.
    Launch the Font Book application and validate all fonts. You must select the fonts in order to validate them. See the built-in help and this support article for instructions. If Font Book finds any issues, resolve them.
    Start up in safe mode to rebuild the font caches. Restart as usual and test.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t start in safe mode. In that case, ask for instructions.
    If you still have problems, then from the Font Book menu bar, select
              File ▹ Restore Standard Fonts...
    You'll be prompted to confirm, and then to enter your administrator login password.
    Also note that if you deactivate or remove any built-in fonts, for instance by using a third-party font manager, the system may become unstable.

  • I had ordered a photo book print two years back. I want to reorder the same book again now. However, I have lost the album project in iphoto. Is there any way to see my print order history and reorder the same book for print ?

    I had ordered a photo book print two years back. I want to reorder the same book again now. However, I have lost the album project/photos from iphoto.
    Is there any way to see my print order history and reorder the same book for print ?

    No.  Apple only keeps the pdf file for a book for 30 days.  Without the library and book project you won't be able to reorder the same book.
    Even though the horse is out of the barn the following tutorial might be of help for future books, i.e. create a new library for each book): iP08 - Archiving an iPhoto Book for Editing and/or Ordering at a Later Date
    OT

  • My wife and 1 both have new iPhone 4's.  Is it best to use the same apple id so we can share music and photo's?

    my wife and 1 both have new iPhone 4's.  Is it best to use the same apple id so we can share music and photo's?

    Would suggest Seperate Apple IDs  >  http://support.apple.com/kb/HE37
    SHARING iTunes MUSIC
    http://macmost.com/five-ways-to-share-music-in-itunes.html
    Also...Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • New downloads of items already purchased in other device with the same account are charged again?

    New downloads of items already purchased in other device with the same account are charged again?

    No, see here...
    Download Past Purchases
    http://support.apple.com/kb/HT2519
    Log into iTunes using the account the Purchase was made with... Click on Buy... and a notice will come up saying you already have it... do you wish to download it again... Click Yes...

  • Recording Audio and Midi at the same time in Logic 7 Express Can it be done

    I am wondering if I can record audio and midi at the same time in Logic 7 Express. I am running my guitar thrugh a Roland GR 33, and a line out and using the GR 33 to trigger sounds in the Logic's synth section but cant seem to record all three tracks at once. If any one knows how let me know. Oh and I am running the GR Synth and Guitar into the Prosonus Fire Fox and have the GR 33 out midi to the Fire Box as well. So I guss the question is how do I sent up two audo tracks and one midi track to record in real time. Thanks Victor

    I am wondering if I can record audio and midi at the
    same time in Logic 7 Express. I am running my guitar
    thrugh a Roland GR 33, and a line out and using the
    GR 33 to trigger sounds in the Logic's synth section
    but cant seem to record all three tracks at once. If
    any one knows how let me know. Oh and I am running
    the GR Synth and Guitar into the Prosonus Fire Fox
    and have the GR 33 out midi to the Fire Box as well.
    So I guss the question is how do I sent up two audo
    tracks and one midi track to record in real time.
    Thanks Victor
    Try arming the audio tracks, select one of the tracks, then while holding down the shift key, select the midi track you want to record, arming the "r" on the midi track. Press "record".....
    HL

  • How can I see my reminders in my Mac in the same way I see them in my iPad and iPhone

    How can I see my reminders in my Mac in the same way I see them in my iPad and iPhone, I is easier to work with reminders in Ipad and Iphone rather to see them like a list on ICal

    The calendar seems to be the only way to see reminders right now. I'm aware of no 3rd party program that deals with just reminders...but I'd like to find one.

  • I use a gmail account for my mail.  When I send an email I sometimes get multiple duplicates (up to 10-12) of the same sent message saved in my sent file.  help

    I use a gmail account for my mail.  When I send an email I sometimes get multiple duplicates (up to 10-12) of the same sent message saved in my sent file.  help

    Did you check your user name and password in Settings>Mail,Contacts,Calendars...tap your email account, tap SMTP, then tap the primary server name.  Make sure the settings there are correct.

  • When i open a new tab it opens in a new window..i like for it to open on the same window i am on,

    when i open a new tab it opens in a new window..i like for it to open on the same window i am on. I went to Tools then options then on tabs the first box (open new window in a tab instead) it was checked so i unchecked it clicked on ok and it did the same thing for new tab it opened in a ew window so i went back and put a check in the tab and same thing....new window.. i then unchecked and ditto.....and did this about 5 times with no change. It had been opening taa What i the world is wrong with this thing? any help is appericated very much...thank you! Donna C

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • HT4437 I bought a brand new iPad 3 and an Apple TV, both connected to the same wpa protected wifi network from home. It worked for a day, but when I woke up, the Apple TV couldn't be found anymore by neither iPad, MacBook or iPhone. Any clue? Thanks!

    I bought a brand new iPad 3 and an Apple TV, both connected to the same wpa protected wifi network from home. It worked for a day, but when I woke up, the Apple TV couldn't be found anymore by either iPad, MacBook or iPhone. Anybody a solution for this?

    Thanks for the swift reply, I have been looking online and a loose plug seems to be somewhat of an issue with many, I hope mine is actually a problem and not what others are experiencing. It's taken me this long to even reach out for the simple fact I HATE being a complainer but this is just horrible.
    Do you have an iPad 3 as well? And is yours not experiencing any issues close to mine?
    Thanks again!

Maybe you are looking for

  • Keyboard and trackpad delay when opening.

    Well whenever my MacBook pro goes to sleep (when i close the lid) when I open the lid it wakes up... Tell us something we dont know. But when it wakes up there is like a 2 second delay before my keyboard and trackpad become responsive, and whiles I e

  • Data recovery / disc repair help

    can anyone recommend the best data recovery and repair program to use with ext hard drives ? thanks

  • Mac Address Book on Windows XP

    I have 2 mac at home and a work computer (Dell running XP). On my personal mac computers, my address book is full of 850+ contacts (business, friend, family, etc) and I would like to know if there is a way for me to access them from my work computer

  • Office Product Key will not work (A505)

    I just bought a Satelitte A505-s6005 two days ago. I've tried all of the suggestions to get Office 2007 working as a trial version, but no luck. Every path I try asks me to install Office and nothing gives me a simple activation key. Any ideas?

  • Resizing tick labels on a lineChart?

    I have an application that makes heavy use of lineCharts. It would nice if, when expanding the JavaFX scene window, the ticklabels on my chart also expanded - they don't. I don't see any way in the documentation of making this happen - or am I missin