Creating Profile type report that hold fields with multiple values

Really hoping someone can please help me out as I am very new to Crystal Reports.
We use Maximizer CRM and we have been in need of some custom reports to rule out risk for regulators. I contacted Max and they suggested the only possible way is to create through Crystal. Its been almost one month already and I still cannot for the likes of me get this report operating properly. I have been inside and out on all sorts of forums, posted topics but no luck! So I will give it one more attempt in hopes that one of you geniuses can show me the way.
In Maximizer CRM there is date, numeric, alphanumric and table. Our table fields items can be set to either single value or multi-value. So in crystal i did a default join of Client.tbl and the user-defined fields from view and joined the client id and contact number from all the view fields to client table. See Image:
and I have dragged all the relevant fields in rows (in details section) rather then columns because we would be reporting on more then 1 record at a time. My problem is - If there is a table with multiple items selected (values), the records triple in count and it will show the same record over and over with just single field value changing at a time.
The formula field you see in the image is from when I posted a discussion and Abhilash assisted me by providing the formulas I should add:
1) Create a formula with this code and place this on the Details Section:
whileprintingrecords;
stringvar s := s + {field_with_multiple_values} + ", ";
2) Next, move all the fields (except the formula field above) from the Details section to the Report Footer
3) Create a formula with this code and place this on the Report Footer. This field would replace the existing field that contains multiple values:
whileprintingrecords;
stringvar s;
Left(s, len(s)-2);
This method is not working out for this type of report. When I add the formula Crystal is still counting my 2 records as 5 records but I can only view it as a single record and the multi-field has all the values for both records and displaying as a single record. See image:
Can anyone please assist and advise where I am going wrong?
-Jared

Hi Jared,
Thanks for taking down memory lane that is Maximizer.  Nice to see their table structure hasn't been simplified in the last 20 years.
If I understand what's happening, you should only see 2 records and not 5.  That means your joins are creating duplicate records.  For now I'm going to skip over trying to optimize your query because I still have bad dreams of linking Maximizer tables.
There are a couple of ways to work around the duplicates, one is to create a group and instead of having your formula in the Detail section, put it in the Group Header.  The question is what would you create your group on that would get you a unique record?
If you know where the duplicates are coming from, create a Record Selection Formula that will remove the duplicates.
There is also the menu option Database | Select Distinct Records.  I've never really had success with this one but there's no harm in giving it a shot.
I would have you try and find which table or combination of tables is generating the duplicates but that requires playing with your links.  Normally I'd start by adding one table at a time and dropping one field onto the report.  If it doesn't repeat then add another table and field and repeat until you get your duplicates.  Once you know where they are coming from then you can either drop that table from your query or create a selection formula that removes the duplicates.
Good luck,
Brian

Similar Messages

  • Creating a Cross tab that contains fields with shared variables

    I am trying to create a cross tab in CR2008. I can get the field in the details but cannot choose it when trying to create a cross tab. Please help.
    Thanks.
    Shared numbervar MonHrs;
    Shared numbervar TueHrs;
    Shared numbervar WedHrs;
    Shared numbervar ThuHrs;
    Shared numbervar FriHrs;
    Shared numbervar SatHrs;
    Shared numbervar SunHrs;
    If dayofweek(today) = 1
        then {@CapacityTeamCount} * SunHrs else
    if dayofweek(today) = 2
        then {@CapacityTeamCount} * MonHrs  else
    if dayofweek(today) = 3
        then {@CapacityTeamCount} * TueHrs else
    if dayofweek(today) = 4 
        then {@CapacityTeamCount} * WedHrs else
    if dayofweek(today) = 5
        then {@CapacityTeamCount} * ThuHrs else
    If dayofweek(today) = 6
        then {@CapacityTeamCount} * FriHrs else
    if dayofweek(today) = 7
        then {@CapacityTeamCount} * SatHrs

    I don't use CR cross tabs as a matter of preference so I can't tell you if the shared variables are having an impact on their availability in the cross tab dialog or how to make the necessary adjustments...
    I can, however, tell you that you don't need a cross tab for what you are trying to do. All you need to do is split all of the IF formulas in to their own formulas.
    This will place each day in it's own column.
    Now... you'll notice that there's a lot white space and nothing's aggregated... Not to worry, it's easy to fix.
    Just create a grouping on which ever field you were going to use as "rows" in the cross tab... insert SUM totals in the group header... and hide the details.
    Now you have created your own manual cross tab, without using CR's cross tab object.
    HTH,
    Jason

  • Searching a Table field with multiple values using a shuttle item

    Hello All,
    I have a shuttle item whhich of course users can select multiple values:
    eg: Orange:Pear:Banana
    Now I have a table where I want to get the Crate Numbers where these fruit items reside.
    The Fruit field has multiple stored values
    eg:
    Crate Fruits
    === ====
    12487 Apple:Orange:Pear:Banana
    17653 Orange:Pear:Grapes
    12874 Apple:Banana
    13655 Grapes:Watermelon:Pineapple
    87643 Pear:Banana
    53626 Strawberries:Apple
    I would like to see a final report similiar to this
    Crate Fruit
    === ===
    12487 Orange
    12487 Pear
    12487 Banana
    17653 Orange
    17653 Pear
    12874 Banana
    87643 Pear
    87643 Banana
    I thought maybe this needs to be done using collections but I am not familiar with this function, if their is another way I would appreciate it
    Hope u can help
    Frank

    Hi Frank,
    I find that in this sort of case, it is easier to create a link table containing the individual values rather than lumping them into one column.
    so the data is stored in the 'Crate, Fruit' format, rather then the 'Crate Fruits' format.
    It is a bit more work maintaining the link table when the values are amended and populating the shuttle, but it is a 'proper' relational table then.
    Regards
    Michael

  • Validate a input field with multiple values.

    Hi,I have to restrict decimal values for a input text field that is "Number"
    When i click on SAVE it will say, that decimal values are not allowed.
    This part is fine. But the problem is that when i save multiple entries(batch save). It validate the first row only and then as per the first row value it throws exception.
    I am using this piece of code to fetch values of  "Number".
    OAMessageTextInputBean oamessagetextinputbean = (OAMessageTextInputBean)webBean.findChildRecursive("Number");
    String qty = (String)oamessagetextinputbean.getValue(pageContext);
    // But this is only returning one value of the field Number. By using this value i am validating it against the Decimal values.
    How to get the value of the field Number on the next row. Also i need to validate it as well.
    A quick help is appreciated.
    Thanks in Advance.

    Hi Myvizhi,
    This is latest piece of code i am using. But still it is printing the value of QUANTITY in first row .
    public void processFormRequest(OAPageContext pageContext,
    OAWebBean webBean) {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    OAViewObject oaviewobject =
    (OAViewObject)am.findViewObject("PoRequisitionLinesVO");
    int rwcnt = oaviewobject.getRowCount();
    System.out.println(rwcnt +  "rwcnt");
    OATableBean oatablebean =
    (OATableBean)webBean.findIndexedChildRecursive("ItemTableRN");
    OAMessageTextInputBean oamessagetextinputbean =
    (OAMessageTextInputBean)oatablebean.findIndexedChildRecursive("Quantity");
    if (pageContext.getParameter("Save") != null ||
    pageContext.getParameter("Checkout") != null) {
    if (oatablebean != null) {
    RowSetIterator queryVOIter =
    oaviewobject.findRowSetIterator("queryVORow1");
    if (queryVOIter != null) {
    queryVOIter.closeRowSetIterator();
    queryVOIter = oaviewobject.createRowSetIterator("queryVORow1");
    System.out.println("queryVOIter is " + queryVOIter);
    while (queryVOIter.hasNext() &&
    i < rwcnt) // rowcount is number of rows
    String qty =
    (String)oamessagetextinputbean.getValue(pageContext);
    System.out.println("Value1 is " + oamessagetextinputbean);
    System.out.println("Value2 is " + qty);
    queryVOIter.next();
    i++;
    String MessageTextValue =
    oamessagetextinputbean.getValue(pageContext).toString();
    System.out.println("Value of mtv " + MessageTextValue);
    if (MessageTextValue != null ||
    MessageTextValue.length() != 0) {
    if (MessageTextValue.contains(".")) {
    throw new OAException("Decimal values not allowed in the Quantity field, Try Again",
    OAException.ERROR);
    } else {
    } else {
    Please help.
    Thanks.
    Chinmay

  • Running report from command line with multiple value for same parameter

    Hey,
    I know how to run a report from the command line specifying parameters values each time but I was wondering if someone could tell me how I would go about running the same report multiple times in a batch program but specifying a list of values to pass to a parameter each time.
    So for example if a parameter was 'School Number', how could I run a report in a batch program that would pass a school number to the report as a parameter using a list of school numbers generated for a sql statement or something. So if I had 300 school numbers in my list then I would get 300 different reports when the batch program finished.
    This leads me to another question. How can I dynamically change the name of the report generated by the batch to use the school number value passed in, so for example if the value 3 was passed in the name would be something like School 3.pdf, if 4 was passed in the name would be School 4.pdf....etc
    Any help on this?
    Thanks

    Hello,
    Bursting and Distribution may help you ....
    37 Bursting and Distributing a Report
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_dist.htm
    Regards

  • Creating a report that's compliant with SEC

    Does anyone have experience in creating a marketing log that's compliant with SEC. Need to generate a report that shows whichmarkting materials were sent, how they were sent (email or mail) date sent and by whom. any advice is much appreciated. i've been trying for weeks to solve this issue

    You should be able to use Activities to track the marketing log information.

  • I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    George - Thanks you so much!  Actually, i'd love for the text color to be red font color.  Could you send me the script for that? And I assume I just copy and paste the script into the field properties (see screenshot)?
    thanks again!
    Seth

  • Is it possible to create a generic report that accepts the SQL as a param

    Is it possible to create a generic report that accepts the FULL sql statement as a paramater and returns variable results based on this?
    We have a requirement to have a generic export routine to spit out csv's from clicking on a web page hyperlink, which would need to accept a "new" sql statement for every run, each containing different columsn etc that would be needed in the output.
    I was hoping could have a generic Oracle report, exporting delimited data format (and as such not using a layout) and somehow pass in the "new" sql statement as a parameter at run time - each sql statement would be different with different columns etc.
    Is this possible with oracle reports ?
    thanks

    If you need a simple dump of data you could try writing a report with a simple query such as
    select 'Report title or column headers'
    from dual
    &data_query
    then your &data_query parameter could be
    union select col1||','||col2 from data_table
    If you are outputing a comma separated data dump the you can concatenate together your data into a single text field.
    This would allow you to have a simple heading followed by the actual data. I guess you could extend this so that the 'Report title or column headers' from the first query was also a parameter to output your row headings i.e.
    select :column_headings_text
    from dual
    &data_query
    Give it a go and good luck

  • Records with a picklist field with empty values can't be seen from a report

    Records with a picklist field with empty values can't be seen from a report. I've created a report that have a picklist as a column. When there is no values the record(s) associated to this picklist don't appear. Do you know what are the common causes for this event?
    Regards
    Arturo

    Hi samrat chakraborty ,
    go to SUIM > roles > roles by complexselection criteria>
    under the selection according to authorization values give the object's  form SU53 screen and press enter it will asks the values for given object pass the values as per the SU53 and execute it will give the list of roles.... capture the roles. The user gets access if you give the any one of the listed roles is assigned, assign the role as per your approval process.
    Check with the below link for more assistence:
    http://help.sap.com/saphelp_erp2004/helpdata/EN/71/8fba30840c6e4d90da3526971cc684/frameset.htm
    Regards,
    S.Manu.

  • How to create a standard report that allows filtering?

    Hi Guys and Gals,
    Sometimes, the standard report is great because it gives the user the feeling of a grid. i.e. All of the values are editable on one page, kind of like a spreadsheet. That is sometimes very useful. But if there is a lot of data, a filtering mechanism is necessary.
    So will one of you Apex gurus please tell me how to create a standard report that also allows data filtering?
    Allowing the user to specify the number of rows displayed would be peachy-keen too.
    Thanks,
    Kim
    P.S. I'm running Apex 4.1 with Oracle 11g.

    Kim2012 wrote:
    Your idea sounds very promising, but I apparently need a nudge in the right direction. From "Create Page", I clicked on "Form" and then "Tabular Form". Why would you do this? The advice given was
    create a standard report page using the Create New Page wizardi.e. go to Home > Application Builder > Application > Create Page and click Classic Report, this was suggested because the original post said:
    >
    So will one of you Apex gurus please tell me how to create a standard report that also allows data filtering?
    >
    Nothing about forms. Tabular Forms, Tabular Forms. Despite many enhancements over the last few versions, tabular forms still cause problems, especially for novices trying to go beyond their own competence and the built-in capabilities of wizard-generated tabular forms.
    More good advice: Re: Newbie question-how does the tabular form work?  How to populate prim key? and&mdash;if based on decent database design&mdash;out of the box you have a usable and robust application. Use an Interactive Report or a custom report template and add some CSS and you can get something a lot more powerful, flexible and better looking than any tabular form. Spend the time you haven't wasted on frustrated hacking of tabular forms adding more features and enhancements to your app.

  • How do I create a .llb file that holds all the subVIs used in a VI?

    Hi
    I wish to create a .llb file that holds all the subVIs(~200) used in my main VI.
    When I open my main VI, and look into the 'show VI hierarchy' I see a lot of subVIs, so to copy all these subVIs into the library file is going to be really time consuming. I am hoping there is an option in Labview by which I could automatically put all these subVIs into one library file?
    Thank you
    Gautham Radhakrishnan
    Dept. Of Physics
    University of Toronto

    In your toplevel VI, go to "File..save with options".
    Now select "Development distribution", press save, and give it a name for the llb.
    LabVIEW Champion . Do more with less code and in less time .

  • Searching Web Apps with Data Source fields containing multiple values

    I have a Web App with a field allowing multiple values to be entered similar to the checkbox list. I need to restrict allowed values to a large, finite list of values currently stored in another Web App as the data source. I can't apply the Data Source field type as that only allows single value selection. I also need to be able to use the Web App Search form to search for items containing 1 OR more values in this field (the search functionality of a checklist field type). Here's what I've tried for field types:
    Text (string) or Text (multiline) field type - By saving a list of comma separated values (the same way that checkbox list outputs) to a text input or textarea, the search logic only searches for exact string (including commas) and doesn't parse the individual values.
    List (checkbox list) field type - This allows me to search multiple values using OR logic, but the web app will only store values that have been entered as options in the actual web app field setup. I tried using a checkbox list with minimal or empty options hoping that whatever values I sent over in a comma separated string value would still get stored, but because the values came from my Web App data source and not the list of options stored with the field, they were not saved.
    Has anyone found a way to do this?
    My other question is about how I might use a similar multi-value field as described above but return search results containing items with ALL selected values for that field (AND logic).
    Can anyone enlighten me to the inner workings of BC web app search logic?

    Thanks Robert.
    You'll need to create your own interface to the webapp database for those kind of data operations
    by this, are you speaking of the internal BC database which stores web app schema data? That would be great if it were possible to update that programmatically because I need to use the List (Checkbox List) field type (for the search functionality), but I need to supply the checkbox options from a web app rather than by manually updating the list entered in the Fields view of the web app settings (shown below).
    I'm curious if anyone else has tried this?
    Again, my reason for needing to use the List (Checkbox List) field type is that the page which processes searches knows to expect a comma separated list for this field type and then appears to be parsing out the individual values for searching out web app items with 1 or more matching values. You're right that text fields (string and multiline) just check for 'string contains' matches, and this would be ok if I was only ever needing to search just one value at a time. Here's an example of what I might do:
    Web App item field value (as recorded against the List (Checkbox List) field type:
    8294877,8294878
    Web App Search value (for this same field):
    8294879,8294877,8294885
    The search would return this web app item because the field contains 2 (1 or more) individual values even though they were entered into the search field in a different order. If this web app item were just a Text (string or multiline) field, the searched value is not a substring of the web app item's stored value, so it would not find a match. Hence the need to use Checkbox List field type.
    The web app will have thousands if not 10s of thousands of records, so dumping them all into one big array or object and searching on the front-end won't be practical (though it works great on smaller datasets).

  • How to make a Input Field with multiple lines?

    hey folks,
    i need to make a popup window or a dynpro with 2 input fields, where the user can write on multiple lines. why isnt there such an input field in the screen painter? how can i make this? if i can do this with a dynpro it would be nice but a popup with that feature would be better. didnt found any infos anywhere except for that thread, but its answer didnt work with my dynpro:
    How to make a input/output field with multiple lines
    thx for any helping answer

    i made it just like in that thread but there is an error message telling that gv_custom_container is not declared.
    *  MODULE status_0110 OUTPUT
    MODULE status_0110 OUTPUT.
      CREATE OBJECT custom_container
        EXPORTING
          container_name              = 'TEXT_CONTROL'
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5.
      CREATE OBJECT text_editor
        EXPORTING
          parent                     = gv_custom_container
          wordwrap_mode              = cl_gui_textedit=>wordwrap_at_windowborder
          wordwrap_to_linebreak_mode = cl_gui_textedit=>false
        EXCEPTIONS
          error_cntl_create          = 1
          error_cntl_init            = 2
          error_cntl_link            = 3
          error_dp_create            = 4
          gui_type_not_supported     = 5.
      SET PF-STATUS 'STATUS_0110'.
      SET TITLEBAR 'TITLE'.
    ENDMODULE.                    "status_0110 OUTPUT
    Edited by: rafe b. on Oct 26, 2009 2:56 PM

  • Crystal Report XI: Parameter Field Dynamic Default Values Limitation?

    Post Author: Elie_123
    CA Forum: General
    Hi,Using Crystal Report XI.I have a parameter field with Dynamic values that Queries the company field of an SQL Database.I have around 3500 companies in my DB. But when running my report (Using Crystal), only the first 1300 companies are being displayed in my pick list.I need to see the whole 3500 records. Any idea how to fix that?regards

    Post Author: V361
    CA Forum: General
    Check out this link
    http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do;jsessionid=2DA9FC849962062053477D134AAAA672?cmd=displayKC&docType=kc&externalId=c2017238&sliceId=&dialogID=5618074&stateId=1%200%205616180

  • Report for CS15 tcode with multiple material nos. in selection screen.

    I want to develop a report for cs15 but with multiple materials.
    Like in cs15 we enter the material and its plant, then click on multi level check box and get the output. But cs15 works only for a single material. I want to develop a report in which i'll give multiple material nos. and then i should get the output for each material entered just as the output that would appear in cs15 for that material.
    How do i do it.
    I have tried but i'm not able to track back.

    Hi Priti,
          try develop a interactive report which lists all the materials in the first screen and when you double click on each of the material then call transaction CS15 output by skipping the first screen .Use set parameter to pass the material .
    Regards,
    Sirisha

Maybe you are looking for

  • Mini Displayport input support

    I have a late 2009 27" iMac now that I connect to my Dell via a mini display to display cable and  in "Target Display Mode" can see my Dell's screen. I am looking at buying a new iMac, But am not sure if I will be able to do this anymore. Does anyone

  • Horror Show

    My new laptop started malfunctioning within one week - the "1" key had stopped working. I called Toshiba, they told me that the disk drive would be erased during repair, so I opted to just have a computer where there was no exclamation mark. As time

  • Songs by artist out of order

    Ok, so I've been using a program for months to manage my ID3 tags on my music. I like my ipod a lot, I use it everywhere I go, but recently after downloading 6 albums of a certain artist, I used the ID3 tag manager (like always.. never had a problem)

  • New features in BW 3.5

    Hi Everyone, Can anyone tell me where can i find the new features available in BW 3.5 and how it has enhanced compared to BW 3.0B. The only one i know is it has now UDCONNECT which allows for odbc connection. What other more features are available.Do

  • Why does Safari constantly disconnecting me from logged in sites?

    I'll have Safari open. I'll log into Yahoo, YouTube, Facebook, etc. and every now and again Safari has this moment where it's not reloading the page quickly. It'll behave like it's freezing up. Then the tabs I have opened with "Logged In" sites will