2 Questions from an amateur crystal developer...

Post Author: robert_macnair
CA Forum: Formula
Hi all,
Ive got a couple of questions as im just starting out with Crystal.
I have a dataset returning Investors, their commitment amounts, the tax code and their contacts. My problem is that for each contact, a new row is created in the DB, the one investor will appear 4 times if they have 4 contacts. e.g.
Closing Date: 01 Sep 2007
Investor 1           £1,000,000           1234          Contact 1
Investor 1           £1,000,000           1234          Contact 2
Investor 1           £1,000,000           1234          Contact 3
Investor 1           £1,000,000           1234          Contact 4
What we need to do is get all the values on the one line, with the contact concatenated together e.g.
Closing Date: 01 Sep 2007
Investor 1           £1,000,000           1234          Contact 1, Contact 2, Contact 3 and Contact 4
Please notice that the contacts are first separated by comma's, and then for the last one it is an 'and'
How would this be done in a formula? I am currently grouping in Closing Date, but can group on investor as there are multiple investors per closing date, and im sure crystal needs to know which investor to use to concatenate the contacts.
My second question is how do I summarize the commitment values. As their are multiple rows returned for each investor (due to the contacts), it sums up the same value multiple times, even when I want it just summed once. For example:
Investor 1           £1,000,000           1234          Contact 1
Investor 1           £1,000,000           1234          Contact 2
Investor 2           £3,000,000           1234          Contact 1
Investor 3           £2,500,000           1234          Contact 1
The sum of this is currently £4,000,000, but i want it to be £3,000,000 as Investor 1 only has 1 commitment amount, not 2.
Hope all of this makes sense, if it doesnt i can clarify further.
Thanks in advance.
Rob.

Post Author: bettername
CA Forum: Formula
Huzzah for lazy!  You could have assigned the output of that formula to a variable, and then just displayed the variable in the group footer... saves a bit of processing time/memory I suppose, but we've all got super-quick PC's, right?
just change end of the existing formula in the group header to:
...groupcounter:=groupcounter+1;
stringvar thegrouptext:=grouptextsuffix" Closing Date";
and in the group footer have simply:
whileprintingrecords;
stringvar thegrouptext
Anyways... that last problem.  Yeah, it's calculating a grand total so you can display it at the end of the report.  If you just want the total for the group, place the field into the group footer, or just add in a summary/formula to calculate the minimum from the group:
minimum(,)
Actually, now I've tought for a second, if you stuck that on the end of the existing formula, that'd work - it'd add to the grand total, then display the group total. Unsuppress it if it's already suppressed!

Similar Messages

  • HT201272 I have recently picked up an Apple TV. When I go to the movies tab, there are less movies available there than there are in my i-Tunes account. I've done some looking around at questions from others, but haven't found an answer that works for me.

    I have recently picked up an Apple TV. When I go to the movies tab, there less movies available there than what is available in my i-Tunes library. I have 38 movies showing in my library but only 23 are showing in the Movies tab on the Apple TV. After researching this a little, there are only 23 movies showing under Purchased in the Quicklinks of my i-Tunes account. The majority of my collection are digital copy downloads that came from DVD purchases. Some of the missing movies were added in the past couple of months, the rest are a year-or-so old. I have done some looking around at questions from others, but I have not found an answer that will fix my situation. How do I update my library to get ALL of my movies to reflect that they were "Purchased"(as it says they were in their Properties)?

    Biggles Lamb wrote:
    Chill out guys, getting personal will never ever change another persons view, right or wrong, they are entitled to them .
    The pros and cons of to CC or not to CC have been done to death
    Its a fact the CC model will work for some, especially newbies and small businesses.
    The risks associated with the CC model have been well documented.
    For long term users of CS perpetuals its generally a large hike up in cost compared to the upgrade system.
    Then there are the....... Adobe can rot it hell...... group who will never subscribe
    To each their own, you do the math to suit your cashflow whatever that is and then make an informed decision
    To those on the CC model, I'd like to offer some practical advice.........do not allow automatic updates.........make regular backups............develop an exit strategy of alternatives for when you can no longer afford the subscription costs............never ever assume that the Adobe update is bug free
    Enjoy your cloud
    Col
    Thank you for that post, and the advice. I just happen to be one of those who it does work for. I've been around long enough to know that CC isn't going to work for everyone(the large publishing/radio/web company I work for isn't upgrading to CC because of the costs involved). But it does for me as I potentially venture out into the full-time freelancing world and away from the more structured big office environment. I can't make decisions based on what is best for anyone else, or what will hurt or help Adobe. Just what affects me, and that's all.
    Brent

  • Transporting an object from testing client to development client

    Hi,
                 This is Sekhar . My question is
      If i transported an object from development client to testing client .After transporting object to testing client i got a bug so that ABAP developer should work on that and how could i modify that bugs in testing client .Is it possible to modify in testing client? Is their any reverse transportation from testing client to development client?
    please give me reply for my question.
    Thanks & Regards
    Sekhar Rao

    Hi Ankesh,
    You said that
    "        If there is a bug then make appropriate changes in DEV and transport the object again.
            Reverse transports are not needed and such paths are not created.   "
    I am asking that my object is in TES client and i need it in my DEV client again to make appropriate changes for bugs i got.then what i had to do.
    please reply  me
    Thanks & Regards
    Sekhar

  • Questions from a beg.  CF,HTML,  Renaming folder/path and adding main page.

    Questions from a beg. CF,HTML, Renaming folder/path and
    adding main page.
    Hello I have inherited this new job and I am trying to
    understand it asap. I am a complete beginner to html,CF and web
    development overall
    Yes I grabbed some books, but if you can help me. I really
    appreciate is.
    I have this file structure
    Z:\ToExport\RepDocs\MyReport
    Pointing to it
    http://myserver/Myreport/
    Here you find a MyReport folder
    And find 2 .cfm
    1. Index
    2. version.cfm
    I have 2 BIG questions, ok 3
    HOW DO YOU MAKE A PAGE THAT WILL CONTAIN
    The link of this MyReport.
    A main page. In other words.
    Main page that has a text Main report
    For name of the division_
    Then a link called My reports. And Your report
    Prefereably sorted
    · My reports.
    · Your report
    HOW DO I CHANGE THE FOLDER
    FROM
    Z:\ToExport\RepDocs\MyReport
    Pointing to it
    http://myserver/Myreport/
    TO
    Z:\NewExport\repmining\myreport
    Then point to it
    http://myserver/ repmining\myreport
    WHY IS THE REPDOCS NOT TYPED IN THE BROWSER WHEN VIEWING THE
    MYREPORT.( i dont have to type (repdocs)to view the report?)
    in other words:
    Z:\ToExport\RepDocs\MyReport
    Is typed
    http://myserver/Myreport/
    without repdocs.
    Please excuse me.
    I am a real beginner.
    Thanks .
    Hope someone replies soon.
    Take care.

    OK, I think I understand your questions, so here goes:
    quote:
    HOW DO YOU MAKE A PAGE THAT WILL CONTAIN
    The link of this MyReport.
    Simply have a link on a page, ex:
    <a href ="LINK URL">LINK TEXT</a>,
    As for your question on your reports, I do not understand
    what you are asking
    quote:
    HOW DO I CHANGE THE FOLDER
    FROM
    Z:\ToExport\RepDocs\MyReport
    Pointing to it
    http://myserver/Myreport/
    TO
    Z:\NewExport\repmining\myreport
    Then point to it
    http://myserver/ repmining\myreport
    If you are directly connected to the server, just create a
    folder in (from what it looks like) Z:\ToExport\RepDocs\ that is
    the new folwer name, ex:
    Z:\ToExport\RepDocs\NEW_folder and put files into it. If you
    are now directly connected to the server, use a program like FTP
    server to connect via FTP and do the same.
    quote:
    WHY IS THE REPDOCS NOT TYPED IN THE BROWSER WHEN VIEWING THE
    MYREPORT.( i dont have to type (repdocs)to view the report?)
    in other words:
    Z:\ToExport\RepDocs\MyReport
    Is typed
    http://myserver/Myreport/
    this is simply because
    http://myserver/Myreport/ is
    set to point at the folder Z:\ToExport\RepDocs\MyReport therefore
    it looks like
    http://myserver is set to the folder
    Z:\ToExport\RepDocs\ anything you add into a folder after that will
    be included.
    I hop eI answered some of your questions

  • How do I sign an IPA coming from a third party developer with our Distribution Profile?

    We have an app developed from a third party developer. We then received his IPA file.
    Upon uploading the IPA using Application Loader, we are getting this error,
    We tried sending our Mobile Developer and Distribution Provisioning Profiles to him, but he cannot build the IPA and told us he needs our Private Key (which we are not considering since we fear that he may be able to develop apps using our account).
    We tried manually signing the IPA using terminal but we are getting this error:
    What can we do?
    Thanks in advance!

    One of the 3rd-party Crystal Reports viewers listed at http://www.kenhamady.com/bookmarks.html provides a full command line API, so you can call a report from your app and pass parameter values, login info, etc.

  • Problems doing the "Web Service" example from the 2-Day-Developer Guide

    Hello,
    I want to do the "web service" example from the 2-Day-Developer Guide.
    I give the application my proxy server address in the format address:port and go through the assistant creating the web service. After selecting the IBM UDDI-service and searching for %xMethods% as business name I get the following error:
    ORA-31011: XML-Parsing not successful ORA-19202: Error parsing XML LPX-00104: Warning: Element "html" is not declared in DTD Error at line 2
    What have I done wrong?
    With kind regards
    Florian Reiser

    Please.. Could you change your forum handle to something more human, we are a friendly group here and lik to know who we are talking to.. Secondly, WHy are you using such an OLD version oft he product. You would be better off installing 3.2.1 (latest released build) and asking your questions after you do that..
    (I am sorry, it's like asking for help in a Windows support forum about issues you are having with Windows 3.1)
    Thank you,
    Tony Miller
    Webster, TX

  • Question from SQL Certified Expert

    Hi
    A have a problem with question from Oracle.Lead2Pass test, people wrote that test is valid. But I don't understand answer...
    There is print screen - [http://www.fotoszok.pl/show.php/1342156_sql-test.jpg.html] -
    I execute this on oracle 10g and:
    1) The problem is space instead of common
    (order_id jtem_id)
    (order_id item_id)
    2) If I correct this (replace space to common )- the execution still returns the errors and any index, table doesn't exist.
    3) If I correct the name of columns
    (order_id item_id)
    (order_id item_id) everything is OK.
    Can you explain me this? Is there any mistake in the question?
    Thanks!

    Hmm... Would you help me find my mistake?
    In my case it doesn't work ...
    When I have executed this:
    create table order_item
    order_id number(3),
    item_id number(2),
    gty number(4),
    constraint ORD_ITM_ID_PK primary key (order_id,jtem_id)
    using index (create index ORD_ITM_IDX on order_item(order_id,item_id))
    SQL Developer has gaved me this error
    Error starting at line 630 in command:
    create table order_item
    order_id number(3),
    item_id number(2),
    gty number(4),
    constraint ORD_ITM_ID_PK primary key (order_id,jtem_id)
    using index (create index ORD_ITM_IDX on order_item(order_id,item_id))
    Error at Command Line:635 Column:50
    Error report:
    SQL Error: ORA-00904: "JTEM_ID": niepoprawny identyfikator
    00904. 00000 - "%s: invalid identifier"
    *Cause:   
    *Action:
    I checked:
    1) select * from order_item;
    00942. 00000 - "table or view does not exist"
    *Cause:   
    *Action:
    Error at Line: 640 Column: 15
    2)select * from user_indexes where lower(table_name)='order_item';
    no rows selected
    3) drop table order_item;
    drop index order_item.ord_tim_idx;
    Error starting at line 641 in command:
    drop table order_item
    Error report:
    00942. 00000 - "table or view does not exist"
    *Cause:   
    *Action:
    Error starting at line 642 in command:
    drop index order_item.ord_tim_idx
    Error report:
    01418. 00000 - "specified index does not exist"
    *Cause:   
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Customer Reference regardinf Migration from COBOL to Oracle Developer

    Hi,
    Can anyone please share customer references regarding migration from COBOL to Oracle Developer.
    Appreciate if someone can help.
    Thanks,

    Can you please share some tools / methodology to perform such migrations particularly from COBOL to Oracle Developer??BIG question. Actually, we did it the hard way -- completely rewrote the entire application. Took 4 years with 8 to 10 developers and analysts.
    The only tools we used were what you get from Oracle: Forms, SQL Plus, Reports. It was a huge project, done partly to overcome the Y2K century problems.
    AS for training, we did not really get any. We just waded in and started writing code ...which definitely improved after about 6 months.
    What sort of system are you looking to convert? How much on-line user interface does it currently have? How many data files?

  • How to obtain most current versions of Crystal Developer

    We recently lost a server that contained our Crystal Developer.
    We need to get the most recent version, and install it on a new (virtual) server.
    I have the production information, version, and registration number along with keycode.
    How would I go about getting/downloading the most current version ?
    Is there any install documentation with that version ?
    Thanks

    Jimmy,
    of you are SAP customer having SAP ID* you can download it from:
    service.sap.com/swdc -> search fro crystal ...
    if you are looking for demo/trial/evaluation version see at store.sap.com or here:
    http://sdnweb.sdn.sap.com/sapbackoffice/public/SAPStoreSolutions.aspx
    cheers
    m./

  • How can I delete the other user reviews from the apple app developed by me

    How can I delete the other user reviews from the apple app developed by me

    As a registered developer you have access to the registered developers discussions area and direct access to the appropriate Apple personnel in regards to such a question. Pretty sure app reviews can't be deleted, but this is far from the appropriate place to get an answer for this.

  • Excluding detail and suppressed records from calculations in crystal xi

    Is there anyway to exclude records from calculations in crystal xi
    The report design contain group level A, group level B and group level C
    In Group level C - the sorting order ensures that the most recent (and in this scenario relevant record) is displayed first - this is the record which is required for the calculations.  This record is then moved into Group Level C header - thus only displaying the first record in this group. However any calculations which take place take into account all the detail records in Group Level C, and as a result the calculations are incorrect.
    Running Totals are not an option as also on this report - in certain scenarios Group Level C may be suppressed altogether - is there anyway to exclude suppressed records from the calculations?
    It is necessary to carry out the following calculations, using only the (unsuppressed) value from Group Header Leve C: Sum, Mean, Median
    Thank you in advance

    if i understand correctly you need to calcuate values based upon your group c
    and the details of the group are in the details section
    the only way you can accuratley calc this is MANUAL RUNNING TOTALS.
    RESET
    The reset formula is placed in a group header report header to reset the summary to zero for each unique record it groups by.
    whileprintingrecords;
    Numbervar  X := 0;
    CALCULATION
    The calculation is placed adjacent to the field or formula that is being calculated.
    (if there are duplicate values; create a group on the field that is being calculated on. If there are not duplicate records, the detail section is used.
    whileprintingrecords;
    Numbervar  X := x + ; ( or formula)
    DISPLAY
    The display is the sum of what is being calculated. This is placed in a group, page or report footer. (generally placed in the group footer of the group header where the reset is placed.)
    whileprintingrecords;
    Numbervar  X;
    X

  • Why can't I post a question from my new system?

    Hello All:
    I was just trying to post a question from my new mbp but it wouldn't allow me to do anything.  It continually gave me a message highlighted in 'red' that i was;t allowed to modify or post anything.  I've been asking questions for quite a while and have never seen this.  I also happen to have my older bmp, also logged onto the 'Apple Discussions' site, open beside me.  Can anyone explain this to me please?  BTW, my new system obviously has Yosemite on it while my older bmp has Lion.  Thanks in advance, to all those who respond.
    Regards,
    Ciaochiao

    ChitlinsCC, I'm adding your reloaders to my article on how to make using ASC easier.
    Here is my ASC work flow...
    1) I login.
    2) Block the automatic 30 minute logout.
         Unless you do something every thirty minutes you get logged out.  The forum software waits to tell you this as long as it can to keep you in suspense  ;-) . Filling out a reply is the exception to the thirty minute window.
            Start an auto reloader.
    Safari = SafariTabReloader
    Firefox = ReloadEvery: "Reload web pages automatically"
    Others = Reloaders | Cerberus - Support Center
      You need to pick a page that will reload over time without stalling out. It's ASC.  I've found my profile display the best to use. I get my Profile page after some  logins.  It's ASC.  Change rccharles to your apple id.
    https://discussions.apple.com/people/rccharles?view=discussions
    Reply technique
    Open a new browser window.  Pick some discussion.  Open a reply window.  As long as this reply window is open, you will stay logged in.  The 30 minute times is reset as needed by the ASC software.
    3) I open another window to do my normal ASC browsing.
    4) I have a FireFox bookmark to goto the discussions that I have participated in. I've modified it to add on the content stuff.
             turingtest2 recommends. Change rccharles to your apple id:  
    https://discussions.apple.com/people/rccharles/content?filterID=participated~obj ecttype~objecttype%5Bthread%5D
    5) Use turingtest2's generated links with the /content suffix as browser bookmark to the ASC discussions: 
    Site map of Communities and Categories
    https://discussions.apple.com/docs/DOC-2463
    6) Adjust the ASC web page layout.
    For FireFox
    I run with Hiroto's modification to user content.  This is the only way these forums are readable for me.  How to adjust the format and layout of ASC Web Pages:
    https://discussions.apple.com/docs/DOC-7501
    For Safari
    "ASCPowerTools is a Safari Extension designed to give more control"
    http://www.etresoft.com/ascpowertools
    7) Read and answer my old posts.  I kind of memorize the time I last posted. ( It's way bad that apple eliminated the last poster to a thread. )
    8) I use tabbed browsering.  From a list of discussions, hold down the command key then click on the link. You get two tabs this way. The original window will keep where you have been.

  • May be slightly simple question from a new Mac user: Why can't I quit safari? I cannot quit it from top menu bar neither to do it from dock? All other apps are working normally.

    May be slightly simple question from a new Mac user: Why can't I quit safari? I cannot quit it from top menu bar neither to do it from dock? All other apps are working normally.

    Or you can actived the right button on your magic mouse and click on they icon in the dock. then you select "stop" and it's out of your dock.
    Greetings
    *update: Sorry, my mistake! I didn't read your message correct! Sorry for the inconvience!

  • Crystal Developer XI without Sap integration kits cant see released Queries

    Hi All!
    When I'm used MS Excel, I can see released SAP BW Queries via SAP OLE DB access. But when I'm used Crystal Developer XI (without Sap integration kits), I can’t see released SAP BW Queries via SAP OLE DB access.
    What's a problem here?
    WBR Artem

    Hi,
    you missing the SAP integration Kit. To conenct to SAP BW you need the SAP Integration Kit installed.
    ingo

  • Is it possible to import less than ALL of the data from a PDF form developed on LiveCycle?

    Is it possible to import less than ALL of the data from a PDF form developed on LiveCycle?

    Please ask in the LiveCycle Designer forum.

Maybe you are looking for

  • Should I go utf8 all the way?

    I think I need some advise on the topic of encodings. My system right now is a mess: One old Windows partition (NTFS), one shared FAT32 partition, both with files from a long time ago in i don't know which encoding, filenames with and without non-asc

  • Getting a character at a given index in a String and returing as a String

    Hello, How do I simply grab one character in a string and return it as a string? I saw the substring() method but it does not like when I invoke: String test = "abcd"; test = test.substring(0,0); **Above produces a runetime error. ***I need something

  • Voiding Complete Payment Run

    After a check run has been processed is there a way to void a complete check run. ie to void checks and reverse the clearing documents all at the same time. Al

  • SAP help-Efficient way to look

    Hi all, Iam really surprised by the way people post links to "sap help" when posting questions. Is there an efficient and quick way to look the SAP-help when one is looking for special things. I only got this far http://help.sap.com/ Pressed the "SAP

  • I don't want Mavericks anymore.

    I don't want Mavericks anymore.  How do I get rid of it and go back to 10.6.8?  I have applications that won't run on Mavericks now, and I don't have a Snow Leopard installation disc.  I wasn't thinking and I did not back up my files with time machin