Displaying same field with two different selection criteria.

Post Author: spulkundwar
CA Forum: Crystal Reports
Hi All,  i want to display list of product in two different table having life counter field less than 0 and life counter field greater than 0. The product list is grouped by product category. The report should look like as shown belowProduct Category1                                             Soon expired (Life 0-25)                                                        Expired Products (Life < 0 )                            Product Name  Product Life                                                        Product Name    Product Life                                     Coke                            24                                                                        Pepsi                    -2                                    Beer                           12                                                                          Vodka            -34 Product Category2                                  Soon
expired (Life 0-25)                                          Expired
Products (Life < 0 )
                            Product Name  Product Life       
                                 Product Name   Product Life
                             Pepsi                    14             
                                       Coke              -2  
                         Beer                     2                
                                      Vodka            -34
Is this possible to show two tables in each report row? When i set selection formula to product name, it sets the same selection formula to all the fields in the report.

Post Author: pvierheilig
CA Forum: Crystal Reports
Hello -
Can't you set the group to be on the category?  Selecting the product name in the record selection formula will present only those product (as opposed to categories).
A subreport, as suggested, will work as well, but your stated record selection will continue to produce the same results - check that, too.  Additionally, you could group on the category and add a group 'b' section (Section Expert; see the Help file).

Similar Messages

  • Delta with two different selection criteria

    I have crated two Delta DTPs with different selection criteria (one with Flag = Y and Flag = N).
    With flag = Y selection I have 100 records and flag = N, I have 50 records.
    When I ran first Delta DTP (flag = Y), I got 100 records. Delta DTP worked fine.
    But when I ran 2nd DTP (with flag = Y), 50 records tranferred but no records added.
    Is it possible to have two delta DTPs with different selection criteria?
    Thanks,
    PV
    Edited by: P V on Aug 23, 2009 4:58 AM

    Hi.
    I guess there was a typo error in your query,
    "When I ran first Delta DTP (flag = Y), I got 100 records. Delta DTP worked fine.
    But when I ran 2nd DTP (with flag = Y), 50 records tranferred but no records added."
    I guess it should be,
    "When I ran first Delta DTP (flag = Y), I got 100 records. Delta DTP worked fine.
    But when I ran 2nd DTP (with flag = N), 50 records tranferred but no records added."
    Yes, two Delta DTPs with different selection conditions can be used.
    Can you please check with the availability of 50 records with FLAG = N in the target InfoProvider?
    If the 50 records with FLAG = N loaded through delta already exists in the target InfoProvider,
    then no addition will occur though trasfer will take place.
    Regards.
    VJ

  • How to display same screen with two different options!!

    Hi All,
    I have created a new entry form where user can enter a new record by selecting from combo select list or manua entry text fields. The same screen has to be used in two ways.
    New entry screen. and once user enetr data clik on sumbit it will insert into database.
    But when the user click on "View" button i need to display the same screen but with existing data insted of empty fields.
    How to achieve this in teh same screen, insated of creating duplicate screen.
    Thanks,
    Anoo..

    Hi,
    Try to use form on a report with report on page 1 and form on page 2.
    When the user clicks edit icons he will be directed to page to to see the values that are entered, make sure form is not updatable.
    If the user clicks create from page 1 then he will be directed to page 2 where he can enter data to insert new record.
    If you need in more detail, explain the scenario how you want, so that I can create an example for you.
    Thanks,
    Ramesh P.

  • Can Same IDOC be sent to same Receiver with two different Message Mappings

    Hello Experts,
    Wierd doubt but want to confirm from you people.
    Scenario:
    One R/3 Sender
    SAP XI :
    One external Receiver :
    IDOC is sent from R/3 to external receiver via SAP XI.
    One interface has already been developed for the above scenario.
    Now client wants another interface to be developed for the same IDOC. Might be the values would be different for some specific fields.
    Doubt:
    Is it possible to send one similar IDOC to one target system with two different Message Interfaces?
    Ex: Created Message Interface 'A'  and correspoding Message Mapping with an IDOC
          Created Message Interface 'B' and correspoding Message Mappingwith an IDOC
    Values would be different in the IDOC and would be triggered from SAP R/3. Basing on the specific value of a field in the IDOC , can we trigger a different Message mapping for the same receiver?
    I donot see any reason in developing a new interface for the same IDOC but as per the situation mentioned above, can it be done?
    Thank you
    Alex.

    Create two interfaces for target side.
    If you want only one target interface should get data.
    You can use simple interface determination. Use the condition tab and specify the field there but the value should be constant. e.g. if field has value EN it should go to First interface and if Field has value != EN it should go to second interface.
    If you want to divide your message in to both target interfaces.
    Multimapping also can help but only if both of your target interface need idoc data.
    You can use ifexist standard node functions from UDF to choose between the field.
    For multimapping you can go to messages tab in the message mapping and can add interfaces using + sign.
    then when you see the design part you will see two messages.
    Now Start with receiver determination in ID and create one receiver determination for the sender and receiver, this shows you have only one receiver.
    In interface determination you have to choose extended and choose your mapping designed.
    then both your interfaces automatically would appear.
    Create two receiver agreements and one sender agreement.
    thanks
    hemant
    Edited by: Hemant on Aug 28, 2008 12:29 AM

  • How to keep same database with two different names in SharePoint 2013 for two different applications

    Hi All,
    I have very strange situation.
    I had SP2010 production database(wss_content_contoso) migrated to SP13 few months back to migrate one site collection only while I have 15 site collections stored in this database and created a site contoso.com
    Now, I want to migrate same(wss_content_contoso) SP2010 database to SP13 and want to create contoso2.com.
    I changed database name from wss_content_contoso to wss_content_contoso2 and assigned newID during mount process.
    After this exercise, I don't see any site for contoso2.com and issue seems to be the same database. 
    My question is!!!!
    How I can keep both databases(actually same database with different names) and run both application simultaneously?
    Any help appreciated!!
    Thank you,
    AM
    AM Senior SharePoint Consultant

    You need to run Backup-SPSite/Restore-SPSite on each Site Collection you want to 'duplicate'. You cannot restore the same Content Database to the same farm as the Site Collections have the same GUID, which is stored globally for the farm.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Can two people use the same computer with two different ipods?

    I was just wondering if me and my mother can use the same computer with our ipods?

    Glad you asked. Before you get rid of the old one move its iTunes Library to the new one:
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/HT4527
    "Deauthorize" the old computer too. Go to the iTunes Store menu and select "Deauthorize This Computer..."
    I hope you get a Mac this time

  • Encrypt/decrypt same file with two different passwords

    Hi everyone:
    I'm quite new to Java and cryptography in general and have a theoretical question. Is the following scenario possible and how would it be implemented:
    Two users with two passwords (say, a regular user and a superuser) encrypt, decrypt, read from and write to the same file. The secret key for encryption and decryption should be based on their passwords (generated from their passwords), i.e. not stored anywhere on the system.
    I've been racking my brains but can't think of a way. Am I missing an obvious solution?
    Can it be done?
    Thanks,
    Michael

    I don't think you can avoid having more than just a password hash stored on the system. Using a combination of my approach and Jeff's approach I can implement this as long as you allow a password protected key store to be stored on each system. A given user's key store would contain his RSA private key and associated public key together with the admin user's RSA certificate (thought the admin user's public key could be stored in the program since it does not have to be kept private). The admin user's key store would contain only his RSA private and public keys.
    Assume that the data file is to be create by a standard non-admin user. His code performs the following actions -
    1) Generates a random symmetric algorithm key. Say a 128 bit AES key.
    2) He write a digest of this to the output file.
    3) He writes the random key encrypted with his public key to the file.
    4) He writes his public key (or certificate) to the file.
    5) He writes the random key encrypted with the admin users public key to the file.
    6) He encrypts the data using the random key writes the result to the file.
    This user can then update the file by
    1) reading from the file the digest of the random key.
    2) reading the random key encrypted with his public key.
    3) Decrypting this encrypted random key using his private key extracted from his keystore.
    4) Check the digest of this key to make sure he has the correct random key.
    5) skipping his certificate and the random key encrypted using the admin user's public key.
    5) Decrypting the data using the random key.
    6) Update the data.
    7) Re-encrypt the file as described in the first part using a new random key.
    The admin user can
    1) read from the file the digest of the random key.
    2) skip the random key encrypted using the user's public key.
    3) reading the user's public key from the file (for use later if the file needs to be updated).
    4) read the random key encrypted using the admin's public key.
    5) decrypting the random key using the admin's private key obtained from his key store.
    6) check the digest of the random key to make sure it is correct.
    7) decrypt the the data.
    The admin can edit the data since he can re-encrypt the data in a similar manner to the way it was created in the first place.

  • TS2972 I have multiple libraries on the "same computer" with two different desktops, can't I share between two libraries on the same computer?

    I'm trying to use home sharing to share content between libraries so some of the combined content in a given library, can be synced to an ipad.   Instad of having mulitple computers, i have multiple libraries on the same computer using two desktops.  How do I share within the same computer?

    iTunes must be running for home sharing to work.  There is no way to have home sharing running simultaniously for two users on the same computer.
    Simply add the media files using File > Add File/Folder option in iTunes.

  • Elements 9 has stopped printing-photopaper comes out untouched.  Same problem with two different pri

    Photoshop Elements 9 was printing great.  I hooked up new Canon Pixma 9000 printer and it worked great for about 20 prints.  Spontaneously quit putting an image on the photopaper.  Same problem with my Epson Artisan 810, so I assume it's an Elements 9 problem.  Seems like it's not transmitting an image to the printer(s), but is sending the command to cycle the paper.  I'm using a 4 year old MacBook with OS 10.6, and it worked fine for a long time.  Still prints with iPhoto.
    Anyone have any suggestions???
    Obie

    My inclination is that it is something in the projects or in the manuals being linked that is the culprit because that is where the consistency lies - projects were created identically and manuals all follow identical formats. The problem typically only occurs after the project has been successfully created and the manual is subsequently updated and I am syncing the manual in RH so I can generate a new AIR file. This is the first time the project has consistently corrupted every time I try to generate the Word document after linking it in RH. This makes little sense to me since it generated fine a couple weeks ago and I did nothing special when I updated it in Word yet when I tried to update it in RH, that is when it originally corrupted. The bottom line is that I cannot 100% trust that any project I run will work the next time. I end up just crossing my fingers and hoping for the best.
    My problems seemed to start once I went to RH9 (from RH8) because we had upgraded from MS Office 2003 to the 2010 version and I needed 9 for the docx extension. Like I said, it is not all the time - I can be beating my head against the wall getting one of the projects to work, then create 3 more projects that have no problems and then the next one leaves me wanting to throw my PC through a window....
    Deleting the CPD does not corrupt the project, it just removes my default linked document that allows me to circumvent linking the styles individually for that project. Once I have a manual linked and I remove the CPD, it just creates a new one. What I am saying is that if I delete the CPD file, it does not prevent the project from corrupting nor does it make the corrupted project viable again.
    thanks!
    Kathi

  • Sum of same fields in two different tables

    Hi ,
    I am facing a problem, hope anyone would help
    I have two tables.. here is the sample data..
    create table t1
    (item_ID NUMBER(2),
    book_ID NUMBER(2),
    price NUMBER(2))
    insert into t1 (item_ID, book_ID, price) values (1,1,60);
    insert into t1 (item_ID, book_ID, price) values (1,2,70);
    insert into t1 (item_ID, book_ID, price) values (1,3,80);
    insert into t1 (item_ID, book_ID, price) values (2,1,10);
    insert into t1 (item_ID, book_ID, price) values (2,1,20);
    insert into t1 (item_ID, book_ID, price) values (1,3,40);
    create table t2
    (item_ID NUMBER(2),
    book_ID NUMBER(2),
    price NUMBER(2))
    insert into t2 (item_ID, book_ID, price) values (1,1,89);
    insert into t2 (item_ID, book_ID, price) values (1,2,29);
    insert into t2 (item_ID, book_ID, price) values (1,3,99);
    insert into t2 (item_ID, book_ID, price) values (2,1,55);
    insert into t2 (item_ID, book_ID, price) values (2,1,90);
    insert into t2 (item_ID, book_ID, price) values (1,3,10);
    as you can see, both tables have the same column names with different data. what
    I require is that i need to calculate the SUM of price grouped by book_id from
    both the tables in a single SQL statement output.
    so my required output is this:
    BOOK_ID SUM(PRICE)
    1 323
    2 99
    3 229
    where the SUM(price) for each book_id is for all the books in both the tables
    where book_id = 1 and then 2 in the second row and then 3 in the third row.
    Would anyone please help, as I am unable to write the query for this.?
    Thanks,
    Sonali.

    <quote>I was just curious if we can do that by some other SQl query and using UNION ALL operator...</quote>
    Of course there are other ways to do it ... but not necessarily better ... just to satisfy your curiosity:
    flip@FLOP> select book_id,sum(price) from t1 group by book_id;
       BOOK_ID SUM(PRICE)
             1    5898240
             2    4587520
             3    7864320
             4    2621440
    Elapsed: 00:00:01.02
    flip@FLOP> select book_id,sum(price) from t2 group by book_id;
       BOOK_ID SUM(PRICE)
             1   30670848
             2    3801088
             3   15597568
             5    1310720
    Elapsed: 00:00:02.06
    flip@FLOP> SELECT book_id, sum(price)
      2  FROM ( select * from t1
      3         union all
      4         select * from t2
      5       )
      6  GROUP BY book_id;
     
       BOOK_ID SUM(PRICE)
             1   36569088
             2    8388608
             3   23461888
             4    2621440
             5    1310720
     
    Elapsed: 00:00:04.01
    flip@FLOP>
    flip@FLOP> with a1 as
      2       (
      3         select book_id, sum(price) p
      4         from   t1
      5         group by book_id
      6       )
      7      ,a2 as
      8       (
      9         select book_id, sum(price) p
    10         from   t2
    11         group by book_id
    12       )
    13  select nvl(a1.book_id,a2.book_id), nvl(a1.p,0)+nvl(a2.p,0)  p
    14  from  a1 full outer join a2 on (a1.book_id = a2.book_id)
    15  ;
     
    NVL(A1.BOOK_ID,A2.BOOK_ID)          P
                             1   36569088
                             2    8388608
                             3   23461888
                             4    2621440
                             5    1310720
     
    Elapsed: 00:00:04.02

  • If I open the same document with two different apps on my iPhone does the document get saved twice?

    For example, I chose to open a .pdf document I received as an attachment with Adobe Reader or iBooks, and now the document is available anytime I open Adobe Reader or iBooks. My question is if these applications are able to open the document anytime they want then the document must be available somewhere on the device, where do they get saved? And do they get saved twice if I opened the same document once with iBooks and once with Adobe Reader?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Is there a way to associate the same song with two different albums?

    Here's what I would like to do if it's possible. I recently purchased Mothership, the Led Zeppelin compilation album. That album has about 4 songs from Led Zeppelin 4. I'm hoping I could purchase the remaining songs from Zeppelin 4, then somehow copy the 4 songs from Mothership over and associate them with Zeppelin 4 to complete the album, yet still keeping them as a part of the Mothership collection. I don't really want to re-purchase those 4 songs again. Is this do-able?

    Hello - What I would do is this: (forgive me for being thorough..) And this would ony work with physical store-bought CDs:
    1) insert cd & wait for iTunes to open;
    2) then, close iTunes
    3) double-click on the cd icon, figure out which track(s) you want, then select them & option-drag to make a copy of them on the desktop.
    4) IF iTunes already "named" the songs, click on each song and change the name to something else (i.e. track 01 or whatever)
    5) drag this "nameless" track into iTunes and then drag the songs into the playlist where you want the duplicate of the song.
    6) now that the nameless song is in the new playlist, go ahead and give it its correct name, artist, album, etc.
    I think this should work. Forgive me again for being overly simplistic. Hope it works.

  • Split valuation for  material with two different price indicator S and V

    Hello Gurus,
    Is it possible to maintain split valuation for same material with two different price indicator S and V.
    For Ex. Material A is manufactured can be manufactured in house ,  procured from outside vendor and can be purchased from subcontracting vendor by providing raw material.
    We want to keep  Price control V for same material " A"  which is procured from outside vendor.
    And price control S for inhouse produced same material " A".
    Besically this material is semifinished and having BOM for subcontracting.
    Please advice.

    Hi
    When the material is split valuated, you maintain the accounting view for the material 1st with valuation category, here the price control should be V.
    When you will extend the material to valuation type "Inhouse mfgd" maintain the price control as S, for valuation type "Procured form outside vendor" maintain it as V.
    Regards
    Prasad

  • Can my iphone operate with two different phone numbers?

    can I insert an additional sim card in my iphone so that it operates like a phone with two different selectable lines?
    in other words I carry one phone with me but can receive or send phone calls, texts, emails etc from either of two different phone numbers?

    No

  • How to call the same query more than once with different selection criteria

    Hi,
    Please do anybody know how to solve this issue? I need to call one query with the fixed structure more than once with different selection criteria. For example. I have following data
    Sales organization XX
                         Income 2008  Income 2009
    Customer A       10                 20
    Customer B        30                  0
    Sales organization YY
                         Income 2008  Income 2009
    Customer A        20                5
    Customer B        50                10
    Now, I need this. At the selection screen of query, user fill variable  charakteristic "Sales organization" with interval  XX - YY, than I need to generate two separate results per sales organization, one for Sales Organization XX and the second for SO YYwhich will be displayed each on separate page, where result for SO YY will be dispayed under result for SO YY. Are there some options how to do it for example in Report Designer or WAD or with programming? In Report Designer is possible to use one query more than once, but I dont know how to force each query in RD to display result only for one Sales Organization, which will be defined in selection screen.
    Thank you very much
    J.

    Hello,
    thanks to all for cooperation. Finally we solved this issue with the following way..
    User fill appropriate SO on the selection screen, which is defined as range. This will resulte, that selected SO are listed in report below each othe (standard behavior). Required solution we achieved with the Report Designer, we set page break under each Result row of RD. This caused, that report is divided into required part per SO, which are stated each on separate page.
    J.

Maybe you are looking for

  • My new macbook pro retina won't connect to my iPhone 4s via bluetooth

    Just bought macbook pro retina. have had iPhone 4s for two years and use it to tether my iPad to regularly no problem. however the macbook pro won't connect to the iPhone via bluetooth. it recognises it's there and a connection code is displayed, but

  • SWN_SELSEN not working in test client after client-copy

    Hi all, We are using extended notification without problem until test client was refreshed by client-copy from production client. In test client, report SWN_SELSEN did not generated notification even there are newly generated workflow items.  Because

  • Please recommend a sound counting application

    Please excuse me if this post is in the wrong section. I have been searching for about a week and cant seem to find an application that counts sounds from a microphone. I have found one that will count beats per minute of a mp3, but I would like to a

  • Highlighted Fields in forms to be switched off when opening a pdf form

    I have created a simple form and understand that when different machines open the forms that the "Highlight Fields" is either on or off depending on how each user has their reader setup. Is there any way that when I create the form and tell reader wh

  • What is IMAP SERVER DIRECTORY?

    Please! TBIRD is great but its difficult to understand many things. Please in your next version bring back the old Context Help where i could drag an HELP??? arrow to (over) some feature and would get a simple explanation note.