Hi, need help, displaying text in crystal report

Post Author: decentsimple
CA Forum: Crystal Reports
CR8.5 help, displaying included or not included  i
have a win app that calls the report, during rendering of report, the
win app will first create a temp table that holds all the fields for
the report, then the report is accessing that temptable. i want my report to display [not] included text for a field that contains the right value..here is the tricky part, the field is not in the temp table..is there a way for the crystal report to read the value of that certain field that is not in the temptable..so far.. i have a parameter     3 parameters, the value can be B/P/U          ?B / ?P /?U each parameter have its own formula:  @havefieldvalue        if {?B} = "T" then            ""  else  "Not" same for the rest..if the report generated have B     then the report should display B - includedsame for the rest.. 

you can always use an array if there's no pattern to your positions:
var positionA:Array=[ [100,20], [2,222], [55,2], [201,111], [78,23] ];
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;
import com.adobe.serialization.json.JSON;
var loader:URLLoader = new URLLoader(new URLRequest("https://api.twitter.com/1/statuses/user_timeline.json?screen_name=ScottMitchell"));
loader.addEventListener(Event.COMPLETE, loadComplete);
function loadComplete(e:Event):void {
    processData(e.target.data);
function processData(data:String):void {
    var tweets:Array = JSON.decode(data) as Array;
for(var i:int=0;i<5;i++){
var tf:TextField=new TextField();
addChild(tf);
tf.multiline=true;
tf.width=300;
tf.text =   tweets[i].text;
tf.autoSize="left";
tf.x=positionA[i][0];
tf.y=positionA[i][1];
nextY+=tf.height;

Similar Messages

  • JRC Export to Text like Crystal Report Designer Export

    We need to Export report to Text like Crystal Report Designer Export using JRC. Is this possible? I see export ReportExportFormat CSV, PDF and RTF only. These exports are working, But I need plain text that looks like Text export of Crystal Reports Designer. I see this working in RAS 2008. What I can do to get this with JRC. I am using Crystal Reports 2008 to design reports.
    Thanks for any help.
    Regards
    Raveendra
    Clarification

    Thank you Jitin.
    What could be solution to this problem?
    If still I want to go with JRC, Can I write some Java code to perform this export?
    I see TextExportFormatOptions and its not working.
    If I want to export automatically to text format, what other choices are there?
    Basically I need to execute report and generate text file automatically. Text file should look like Crystal Report Designer Exported Text file.
    Thank you for your time.
    Regards,
    Raveendra

  • Problem with vertical text in crystal report viewer

    Hi,
    I am displaying vertical text in crystal report designer and deploying the report in crystal reports server 2008. The deployed report is being displayed using JAVA in crystal report viewer control.
    Problem: Vertical text header  is getting collapsed wth other vertical headers.
    Please help on this.
    Thanks,

    Hi Vijay,
    I found out another method of retaining all the chart formatting that is done in the preview pane.
    Once you have done all the changes then you will find interestingly there is a chart menu option that appears in the tool bar. Once you click on it there is an option "Apply Changes to All Charts".
    Select that option, close your preview. Open it once again and you will find that all the settings are still there and the Web Viewer is able to display them properly.
    I think that I resolved this.
    Regards,
    Gourav

  • Arabic Text in Crystal Report

    I am having issues in displaying Arabic in crystal report. I am pretty sure that the data stored in Oracle (10g) is okay because when I query the same data using SQL Developer or TOAD, it is fetching and displaying Arabic contents as well. However, when the same query is used in the Crystal report, it is converting Arabic text into some weird Characters like ãÎÊáÝ etc. However, when I type Arabic in Crystal report, it is fine. The only issue is when I retrieve Arabic data from the database in Crystal report and try to show it, it converts it into some weird characters.
    I am using Crystal Report 2008 version 12.0.0.x and I used the font of the field to be "Arial Unicode" but still of no use. I even tried changing the font setting from "right to left"; still no use. I have also tried using various fonts like 'Arabic Typesetting", "Arial Unicode", "Arial Narrow" etc but problem is still there.
    Any suggestions?

    Sorry Fahran - not sure I understand. Are you saying that all connections cause the same issue in CR 2011 with SP 9?
    SP 9 can be downloaded here:
    http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htmhttp://search.sap.com/notes?id=0002015092&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303032303135303932
    - Ludek
    http://search.sap.com/notes?id=0002015092&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303032303135303932

  • HELP! Need help generating TEXT-ONLY portal page...

    Text Only Portal Question:
    PLATFORM:
    =================================================================
    Sun Solaris (5.2 if memory serves) for db and mid-tier, running
    8.1.7 DB and 3.0.9 (1.0.2.2) portal.
    THE NEED:
    =================================================================
    I need to display text only portal pages. Some of the more
    detailed concerns at this point are below. Also, I've had an open
    tar on Metalink for about two weeks, and after research from
    their end has resulted in no help.
    THE ISSUES (so far):
    =================================================================
    IMAGES:
    If an anchor [A HREF=...] tag uses an image as it's "text", I
    need to strip out the ALT= text to show inside the anchor. If no
    ALT text is available, then I would like to show the image name
    as a default.
    For example:
    <img src=home.gif
    alt=Home>
    should display as:
    Home
    FORMS:
    How do I get the resulting page from a form (which include the
    login inputs and submit button, search box, advanced search page,
    etc.) to be displayed by the text only page?
    For example:
    When a form is called, the <FORM> elements are as follows:
    METHOD=GET or POST
    ACTION=url (relative or absolute) to the script.
    In this case, the action value is:
    ACTION=/servlet/page?
    pageid=6&dad=portal30&_schema=PORTAL30.
    This calls the advanced search API.
    I would expect that to redirect the browser back to some
    text-only version, the ACTION= element would have to be changed
    to be something like:
    ACTION=[pathscraper]?/servlet/page?
    pageid=6&dad=portal30&_schema=PORTAL30
    REDIRECTION:
    What happens when portal pages redirect internally? How do you
    get back to the text-only page?
    For example:
    The login link on the standard Oracle Portal home page flips
    from url to url to get to the actual login page. Our
    implementation of Oracle portal goes from
    [DOMAIN]/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
    to [domain]/pls/portal30_sso/portal30_sso.login_page.
    Since this is standard Oracle redirection, how can it be
    intercepted so the portal30_sso.login_page can be presented as
    text only?
    TRIED SO FAR:
    =================================================================
    I've written a socket/text scraper in Perl, running it from a web
    server. The problems mentioned above are really causing problems,
    plus the whole cookie thing. Since Oracle Portal tries to push a
    cookie to the client, when the client is another UNIX server,
    the cookie thing doesn't work.
    POSSIBLE OTHER SOLUTIONS:
    =================================================================
    Something...anything. I've tried to think of some method to
    create some sort of PL/SQL procedure to catch the content then
    strip out the HTML calls.
    An Applet to do the same thing, but on the client side, but
    since time is an issue, coding a complete Java applet isn't
    really an option.
    THE CONCLUSION:
    =================================================================
    HELP! I need some help. This is for a client that is government
    funded, and to meet Section 508 (part of the Americans with
    Disabilities Act that states web sites and applications must be
    made accessible. A text-only page is one of the requirements for
    an accessible page.
    Thanks,
    Ryan Stefani
    ps: feel free to contact me via [email protected] or
    [email protected]

    Use Find/Change and the GREP tab.
    Search for .+ and set the Find formatting to find the charcteristics you want.
    What will you do with this text once found? You'll need something to "change" to, either new text or Change Formatting options...

  • Stored Procedure for displaying data in Crystal Reports

    Hi I am new to Oracle & Crystal Reports,so can any one please give me sample stored procedure to display data in Crystal report from Oracle by passing rwo input values.

    from site:-
    Crystal Reports will only support the return of a single refcursor from Oracle. Even the latest and greatest version 10 doesn't allow you to return more than one recordset at a time. You could add one more step to your procedure that would join up the output of the multiple refcursors into a PL/SQL table and then fetch the result set out through a single refcursor. That way you are using temporary space that will be cleaned up as soon as the connection is terminated and will only be returning a single refcursor

  • Need some help & suggestions in designing Crystal Report

    I need to arrange my data in the following manner:
    I need to group my data by a field and need to show multiple information for that record at the same row level and then include some crosstab information. I realized that I cannot have multiple information at the same row level for a group.
    As an example, please consider that the group field is Name and A and B are two records returned based on the grouping field. I also need to show 'Description' and a color coded box for that record.
    And then I need to show the cross tab data for that group.
    I need a table something like what is shown below:
                                                              X  Y  Z
    A.Name A.Desc A.ColorCodeBox    Var1    0  1  2
                                                      Var2    2  3  4
                                                      Var3    2  4  4
    B.Name B.Desc B.ColorCodeBox     Var1    0  1  2
                                                      Var2    2  3  4
                                                      Var3    2  4  4
    Where the numbers are some values and X,Y,Z are the column headings and the numbers are some values.
    Could you please provide some suggestions as to how this can be achieved? I am using the default Crystal Reports that ships with Visual Studio 2008 Prof. But if there is some other feature available with any other version, we can consider switching to it.
    Thanks in advance.

    Here is how my table is laid out.
    col-1    col-2     col-3              col-4  col-5  col-6
    field-a   field-b   field-c        r1 11111  22222  33333
                                       r2 44444  55555  66666
                                       r3 77777  88888  99999
    As you had mentioned, I am creating two group headers in my group section where the first group header contains the following and overlays the second group header.
    col-1    col-2     col-3    
    field-a   field-b   field-c                                                                        
    And the second group header contains  the cross tab information.
              col-4  col-5  col-6
        r1 11111  22222  33333
        r2 44444  55555  66666
        r3 77777  88888  99999
    And I suppressed the column headings (col-X)  from both the groups using the formula that you mentioned. But here is how my table is being laid out
    col-1    col-2     col-3              col-1  col-2  col-3
    field-a   field-b   field-c        r1 11111  22222  33333
                                       r2 44444  55555  66666
                                       r3 77777  88888  99999
                                                                               <- blank line
    field-a   field-b   field-c        r1 11111  22222  33333
                                       r2 44444  55555  66666
                                       r3 77777  88888  99999
    I have already done a fit section and made sure there is no space. Also my crosstab table contains string fields and I am suppressing the row and column totals in the crosstab as I do not need them.
    Do let me know if you have any ideas on this.

  • Need help in creating custom crosstab reports

    Hello
    I need some help in creating custom crosstab reports.
    My current report shows the number of events that have occured over the time in a day
    The events and the eventdetails are read from the database before being printed on the crosstab
    i.e something like this.
    Note : there are no events between 3:00-3:59,5:00-5:59;6:00-6:59,7:00-7:59  (not present in the database)
    hence not displayed in the reports
    *08/07/2009*         01:00        02:00         04:00          08:00          10:00*
    Event X                    1               1                 4                 1                  3
    Event Y                   3               3                 2                 2                  1
    Total                        4                4                 6                 3                  4
    So far so good...
    Now i have to enhance my reporting application to include the event details which have not happened i.e to include the time details in the crosstab reports where no events have happened
    08/07/2009             01:00        02:00         03:00          04:00          05:00         6:00         07:00         8:00     9:00     10:00
    Event X                     1               1                0                 4                  0             4             0                1            0           3
    Event Y                     3               3                0                 2                  0             2             0                2            0           1
    Total                         4                4                0                 6                  0             6             0                3            0           4
    I have fell short of ideas this time around to implement such a thing
    Any help in this direction is deeply appreciated
    Regards
    Srivatsa
    Edited by: Srivatsa HG on Jul 8, 2009 10:56 AM

    Hi,
    It seems that you are having issue with Crystal Report Design.
    Post your question in [Crystal Report Design Forum|SAP Crystal Reports;
    That forum is monitored by qualified technicians and you will get a faster response there. Also, all Design queries remain in one place and thus can be easily searched in one place.
    Regards,
    Shweta

  • Need to display TEXT in web selection screen

    HI All,
    We are working on CRM-BW  modeling. We have one field called "product" which will have key and medium text. We need to display both key + text in web reporting selection screen. When we ran first time text was not showing in web report. Then we found and change the configuration in search help in SE11 for that field. Then we can see the text+key combination in RSRT but still we can't see the text in web report selection screen...
    Now what we have to do to display text in selection screen on web...
    Please give your inputs  ASAP.....we are in UAT phase....
    Thanks in advance
    Arun

    Hi Arun,
    For you case: Display key & text in selection screen.
    In BW,
    You can go to query designer, then you'll go to the info-object belong to the variable (selection-screen : product). Right-click, find for the properties, Then you'll see the option for <b>display as</b>.
    Choose it for Key and text.
    Then save it.
    Go to the report, in the selection screen, when you're choosing for the help, you'll see the value displayed by key & text.
    Hopefully it can help you a lot.
    Regards,
    Niel
    Thanks a lot for any points you choose to assign.

  • Help required for our Crystal Reports billing reports

    Hi there, excuse me if this is the wrong location to make this post, just registered today and in need of help. We employee an in house developer and use Crystal Reports 2008, Service Pack 3 and have a couple of issues using Crystal Reports effecting the bills we email out to our clients and hoping someone can advise or point us in the direction of a partner who is an expert in this area.
    Issues are:
    We use a background colour for each section of our customers bill. When a section rolls over on to another page i.e. multiple sections we cant get the background colour grow to the bottom of the page. For example the customer sees the background colour stop possibly 1/2 way down the page.
    Intermittently about 30% of the time where the customer has more than 2 pages we get a blank page inserted with nothing but has our logo in the same position.
    Displaying $ figures using the default currency format on to the bill shows negative figures with the $ in front of the - i.e. $-2.81 instead of -$2.81
    We have an issue occasionally the last line on the bottom of a page changes the thickness of the line and also the position i.e. the line appears lighter & sometimes indented about 10mm.
    We would love to apply a banner down the right hand side of our landscaped page however the bill is broken into sections which we understand we cant have a full length banner? Open to ideas.
    Thank you for any direction on how to resolve these issues, we have been living with them for 3 years. As mentioned above happy to pay for any expert to help us through this or refer to a partner.
    Thanks again
    Dwayne

    To add to Jamie's post. Updating to Service Pack 7 will not be a bad idea either. You will have to contact sales: 866-681-3435or Customer Interaction Center: SAP Service Marketplace Content Page to get the SP.
    Other than that, one question per Discussion would be great. SCN Rules of Engagement.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Long Text in Crystal Report for Enterprise 4.0

    Hello,
    I am creating a report using SAP Crystal Report for Enterprise 4.0 (Version 14.0.2) and the source of data is BEx query via OLAP connection created using IDT. I am using SAP BusinessObjects BI platform 4.0.
    The Characteristic (which is hierarchy) in the Rows section of the BEx Query is set to display long text and as such, it displays long text when the query is executed in the BEx Analyzer. However, when it comes to Crystal Report, the short text is displayed in the report.
    The Characteristic is 'Item' (0CS_ITEM) and upon going to SAP BW > RSA1 > Modeling > InfoObjects > Item (0CS_ITEM) > Right Click > Display > Business Explorer (tab) > Text Type is set to 'Long Text' and BEx description is set to 'Long description' already.
    Can I display long text in the Crystal Report? How?
    Thanks,

    Hi Jothi,
    Short Text and Long Text are associated objects of a Characteristic from a BEx query.
    The 'Short Text' will not turn to 'Long Text' by setting the 'Can Grow' option.
    In Fact, both are completely different objects.
    -Abhilash

  • Overlapping text in Crystal Report

    I am working with Crystal Report 2012. I am suppose to create a Crystal Report which may be exported to pdf . It has certain fields with "Can Grow" property. As a result of all this I am facing overlapping text issues due increase in the text length , I don't want to limit the length of text fields. I require an urgent help to deal with this issues. 
    Thanks a lot in advance

    Hi Dell,
    Is this the thing you wanted me to do :
    If yes then I did this but I lost the contents of the Group Footer #6b.
    Before applying , in-circled are the overlapping text which are possibly lost after the application
    Before:
    After applying these fields are missing
    After:
    According to me this might occur due to " Group by " which is removed afterwards.
    Waiting for your reply.
    -Saurabh

  • Do I need a new license for Crystal Reports Release 2?

    Post Author: jerryk
    CA Forum: Upgrading and Licensing
    Hi,
    We have a license for Crystal Report XI.  However we need Crystal Reports Release 2 since we are using .Net 2.0.  I just tried installing the Crystal Reports Server on out test web server and it would not accept the license key we have.  Do we need to get a new key?
    jerry

    Post Author: colin mackenzie
    CA Forum: Upgrading and Licensing
    Hey jerryk.
    Check out this URL.
    It will help.
    http://www.businessobjects.com/products/reporting/crystalreports/xi_release_2.asp

  • Needs a solution for loading Crystal Report

    Hi.....
    I have already desiged & loaded crystal reports through SAP B1 Main Menu.
    But I need help (Code in C#.Net) for loading a crystal report template(already created) for a System form (eg; A/R Invoice) immediately after the form load by a menu click(means through UI interface)
    and report generated by identifying the Forms Document Number.

    HI...
    See  this following link
    https://www.sdn.sap.com/irj/sdn/businessone?rid=/webcontent/uuid/807d22cb-cb1d-2b10-8794-fb76d7feca88#section2
    Regards
    Billa 2007

  • Need help with parameter fields and report selection.

    Hi all:
    I hope some one can help me with the problem I am having with my parameter field and record selection.
    First, can anyone explain to me why my parameter field CustStart, which is dynamic and is based on the field Customer in the table CustMaster.  There are over 1800 records in the CustMaster table but the drop down list only shows maybe about half of them and there is no way to scroll down to the last customer record.  What am I doing wrong?
    Second, is there any way to base a parameter field on a formula field on my report?  On my report I have created a field Cust that is the customer name and number joined together in one field.  I would very much llike to use this formula in my record selection and in my parameter field.  Can it be done?
    All help is greatly appreciated
    Thanks,
    FatMan

    Hi,
    You can use the following for changin increasing the LOV.
    Crystal Reports XI BusinessObjects Enterprise XI
    For performance reasons, in Crystal Reports XI Release 1 and Release 2 the maximum number of values that are returned for a list of values is set to 1000. If you have a cascading List of Values (for example Country > Region > City), the lowest level (in this case City) will only display a maximum of 1000 values. This means that the higher-level prompts may display far fewer values than you expect. The list of values provides the data for the dynamic parameter list.
    How can you modify the maximum number of values available in a dynamic parameter list?
    Resolution
    To increase the maximum number of values available in a dynamic parameter list, you must add a registry key.
    CAUTION     The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk. For information on how to edit the registry key, view the 'Changing Keys and Values' online Help topic in the Registry Editor (Regedit.exe).
    It is strongly recommended that you make a backup copy of the registry files (System.dat and User.dat on Win9x computers) before you edit the registry.
    Crystal Reports XI Release 1
    1.     Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV.
    NOTE     Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV key.
    2.     Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter. NOTE: The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    NOTE     The higher the number of values is, the longer it will take the Enter Values dialog box to populate with values.
    3.      After making changes to the registry, restart the affected service or application as required.
    Crystal Reports XI Release 2
    1.     Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV.
    NOTE     Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV key.
    2.     Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter. 
    NOTE     The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    3.     After making changes to the registry, restart the affected service or application as required.
    I hope this helps you.
    Regards,
    Prashant

Maybe you are looking for

  • HT2542 Can we have two separate itunes accounts using the same mac?

    I am wanting to download music to my Thunderbolt smart phone (i know, no iphone yet, next upgrade) and I want to use itunes to do it. My partner has an itunes account and I thought I opened my own itunes account, but apparently I didn't. I don't like

  • Problem in opening a query in BEX analyzer..

    i am using front end sap gui 7.20 with patch 9.. my issue is that when i tried to open a query in bex analayzer. i get following error stating that you donot have suffiecent authorizations for the infoprovider XXXXXX function module /SDF/AL_MAP_TRANS

  • [solved] [VIM] question to vim power users about mapping

    Hi, I have just starting using map leaders in vim and I'm love it. Here are my shortcuts but this method allow to open /etc/rc.conf only in readonly mode. So how can I open this file to edit like su (when I open vim without sudo)? I have configured s

  • Need to create ABAP proxy in ECC 6.0

    Hi All,           I need to create Abap proxy in ECC 6.0 .Tha actual senerio is iam getting data from XI in XML format and i need to validate and update the date in the ZEE table fields respectively.i need to Modularize the class and keep the validat

  • SADMIN User-Id failed logins while running srvrmgr

    Hi All, Need help with one of my Customers running srvrmgr command against gateway. Customer had installed siebel environment 15 days back and it was working fine. Suddenly, from easter week end seeing sadmin id failing and locking out. Customer is r