Auto wrap data field in a subreport

I have a subreport in my main report that displays one field. The subreport uses a stored procedure that returns one row that is made up of a CSV string. I have "Can Grow" set for the field but it does not wrap to the next line in the subreport. If the string is to long, it cuts off the end and does not display on the next line. Is there another setting I need to set? Or can I even do this?

hi,
Right click the 'Subreport' and select 'Format Subreport'.
Check the checkbox  of 'Can Grow' option.
Now you will see the entire CSV string spanning across multiple lines.
Regards,
Vamsee

Similar Messages

  • Auto populate date field

    I have a JavaScript that I use to auto populate date fields. However, I've discovered that it doesn't work when the form is opened on an iPhone or Android phone. Is there a way to auto-populate a date field without using JavaScript?

    What app on the iPad are you using.
    Different apps on mobile devices have varying degrees of JavaScript compatibility.

  • LiveCycle ES2 - Auto Populate Date field when signed

    Good afternoon,
    I've got a signature field called "sgnPOC" and a date field called "sgnPOCDate" I'd like to have the date field filled in automatically when the sgnPOC is digitally signed.
    I added the following to the postSign* event to sgnPOC.
    FORM.Main.sgnPOCDate.rawValue = util.printd("mm/dd/yyyy", new Date());
    and different variations including setting the date to yyyymmdd and like. It just won't auto populate. It passes the script check in the script editor.
    any ideas?
    Thank you.

    Thank you,
    I tried the following - to no success.
    FORM.Main.sgnPOC::postSign - (JavaScript, client)
    var myDate=date()
    FORM.Main.sgnPOCDate.rawValue = Num2Date(myDate, "YYYY-MM-DD")
    I also tried this
    FORM.Main.sgnPOC::postSign - (JavaScript, client)
    var myDate=date()
    $.rawValue = Num2Date(myDate, "YYYY-MM-DD")
    Which also did not work, but wouldn't that need to know where to put the date?

  • Forms 11g auto-complete date field

    Hi,
    In forms60 we had a few registry keys that made it possible for the end user to type in parts of a date and have it auto-completed.
    Example :
    The user wants to type in 20/10/2010 but merely had to type in 20<ENTER>
    This worked in forms60, is there a way to achieve this in forms 11g?
    Thank you
    PS: I have already tried
    NLS_DATE_FORMAT=DD/MM/YYYY
    FORMS_OUTPUT_DATE_FORMAT=DD/MM/YYYY
    FORMS_USER_DATE_FORMAT=DD/MM/YYYY
    In default.env with no luck.

    Dear Christian, yes I am certain.
    I just investigated it a little more and it appears it all depends on the following registry keys :
    HKLM\Software\Oracle\forms60_user_date_format which has value : ddmmyyyy|ddmm|dd|dd/mm/yy|ddmmyy|dd/mm|dd/mm/yyyy
    HKLM\Software\Oracle\forms60_user_datetime_format which has value : ddmmyyyyhh24mi|ddmmyyyy hh24mi|dd/mm/yyyy hh24:mi|ddmm hh24mi|ddhh24mi|dd hh24mi|ddmmhh24mi|ddmmyyyyhh24mi
    These appear to define in what formats a user can input a date.
    The one I was talking about appears to be about the *|dd|* which would imply the user can input the day and the rest will be autocompleted.
    I did find another thread about this issue, but it is for 10g and they never really found out the whys and hows...
    Date field in 10g Form
    Thanks for your help.

  • Auto populate date field in form

    Hi
    I have been trying to get a field in a form to automatically populate with todays date. I have got a script which defines the default value for the field as: document.dform.currentdate.value=displayfirst+"/"+displaysecond+"/"+displaythird
    where dform is the name of the form, and currentdate is the name of the field.
    This works fine.
    But I am using the form to populate another program, and the field name must be 00N20000001QbHo
    I assumed therefore that I should use: document.dform.00N20000001QbHo.value=displayfirst+"/"+displaysecond+"/"+displaythird
    But this does not work. In Dreamweaver the .00 appear red.
    I suspect that I need to put 00N20000001QbHo in parentheses or something similar.
    Can anyone help a newbie who doesn't know what he is doing? Full script below
    <form name="dform">
    <input type="text" name="00N20000001QbHo" size=11>
    </form>
    <script>
    var mydate=new Date()
    var theyear=mydate.getYear()
    if (theyear < 1000)
    theyear+=1900
    var theday=mydate.getDay()
    var themonth=mydate.getMonth()+1
    if (themonth<10)
    themonth="0"+themonth
    var theday=mydate.getDate()
    if (theday<10)
    theday="0"+theday
    var displayfirst=themonth
    var displaysecond=theday
    var displaythird=theyear
    document.dform.00N20000001QbHo.value=displayfirst+"/"+displaysecond+"/"+displaythird
    </script>

    JavaScript.is.not.Java.
    This is a Java forum. You could look out for a JavaScript forum at JavaScript.com. I believe JavaRanch also has one.
    db

  • Auto generate date field.

    Is there a simple method for automatically displaying the current date in a form field? My form may take several days to run through the process I've created but the customer would like the final step's date input to be automated.
    Thanks,
    Pat

    You can create a variable of type 'date'.
    Then with a setValue use the expression current-date() to get the current date.
    Finally use the setValue to set the data element on your form with the value of your date variable.
    Jasmin

  • Auto-Incrementing Date Field

    In my report I have information on parts that have been ordered.  I have the part number, date ordered, quantity ordered, date received, among others.  What I want to do is insert a custom field that gives me each day that had transpired beteen the Date Ordered and the Date Received.  I want one row for each intervening date, including the Date Ordered and the Date Received.  How can I do that?

    Hi,
    I am not sure if you can get a dates between ordered date and received date. However you can get it as a comma separated list as a field.
    Try following formula
    numberVar d:= DateDiff ("d",{ABC.DT_ORD},{ABC.DT_RECEIVED} );
    numberVar i;
    StringVar abc;
    StringVar inDate;
    for i:=1 to d do
    abc:=totext({ABC.DT_ORD} + d);
    inDate:=inDate & abc & ",";
    inDate;
    --Kuldeep

  • How do I auto fill a date field for an Adobe form?

    Hi. I am new to Acrobat. I would like to have Acrobat auto fill today's date in a date field when I open an acrobat form. I check the forum help and it indicated that I associate this javascript text to the field:
    var f = this.getField("Today"); if (f.valueAsString=="") f.value = util.printd("mm/dd/yyyy", new Date());
    However, when I try it out, nothing happens.
    Any clue as to what I am doing wrong?
    - Michael

    Hi M. Krebs,
    Is there a text field in the PDF labeled "Today" and set as a date field? And does the Date Options format set for the field match what is in the JavaScript (mm/dd/yyyy)?
    Best,
    Sara

  • Formatting a date field auto populated with Javascript

    I have a date field, which I auto-populate to be the current days date with the following code:
    var date=new Date();
    var month=date.getMonth()+1;
    this.rawValue=month+"/"+date.getDate()+"/"+(date.getYear()-100);
    This works fine, but it comes out as 7/20/12 instead of 07/20/2012 like my pattern defines.
    Whether or not I write my code to be the correct format, I always get an "Invalid format" error. How can I fix this?

    The solutions is to format the date in YYYY-MM-DD when setting the raw value.
    var date=new Date();
    var month=date.getMonth()+1;
    var day=date.getDate();
    if(month<10){ month="0"+month; }
    if(day<10) {day="0"+day; }
    this.rawValue=date.getFullYear()+"-"+month+"-"+day;

  • Auto populate a date field in pdf

    in the form I am working on I have a date/time field. I need it to populate the current date when the form is open. I get it to work but it has the time on it. I only need the date. when I try to change it to display just the date. It will not auto populate ? please help. Thank you for any one who can help.
    using adobe livecycle ES

    I found out how to use current date.
    To add current date fields in LifeCycle
    You can use a date/time field to automatically show the current date by using the Runtime Property option in the Value tab of the Object palette.
    Note:  When using a current date field, the date updates to reflect the system’s current date each time a user opens the form. 
    1.  In the Object Library palette, click the Standard category and drag a Date/Time Field object onto the form design.
    2.  In the Object palette, click the Value tab and select Calculated - Read Only from the Type list.
    3.  Select the Runtime Property option.
    4.  View the form in the Preview PDF tab.
    Hope this helps!
    Brian

  • Auto Date field and Auto Number field

    I am fairly new to this,
    I have crated a form using the form wizard in Acrobat Pro 9.0 and I would like to make a field an Auto date field and another an Auto Numbering field. I have read a lot of the posts and there are a lot of recommendation to point the auto number to a database. This is fine but I do not know how to reference that field to an external database. PLEASE HELP!!!! Somebody GEEK me!!

    I am fairly new to this,
    I have crated a form using the form wizard in Acrobat Pro 9.0 and I would like to make a field an Auto date field and another an Auto Numbering field. I have read a lot of the posts and there are a lot of recommendation to point the auto number to a database. This is fine but I do not know how to reference that field to an external database. PLEASE HELP!!!! Somebody GEEK me!!

  • Can Acrobat auto populate a date field upon digital signature of a form?

    We use several fillable forms with digital ID signature fields.  A business rule requires a date field next to the signature field.  Is it possible to define the date field to auto populate once the user signs the form?  I can't check this in Acrobat since I only have the reader.

    Hi,
    The short answer is yes, but of course you'll need to get Acrobat to edit the PDF file.
    Generically, here is what  you are looking to do:
    Open the Digital Signature Properties dialog
    Select the Signed tab
    Select the This script executes when the field is signed radio button
    Click the Edit button
    Add the code snippet below to the JavaScript editor
    Click the OK button on the JavaScript editor
    Click the Close button on the Digital Signature Properties dialog
    // JavaScript code to add the date at signing time
        var currentTime = new Date()
        var month = currentTime.getMonth() + 1
        var day = currentTime.getDate()
        var year = currentTime.getFullYear()
        var signingTime = day +"/"+month+"/"+year  //Modify into your preferred format
        var f = this.getField("Text1");  //Modify the field name as necessary
        f.value = signingTime;
    Good luck,
    Steve

  • In CR4E 2, data fields & subreports appear as hyperlinks

    Even though data fields and subreports DO NOT have hyperlinks turned on, they appear in the DHTML report viewer as though they do - i.e. in IE with the "hand" icon - and when a user clicks on it, they get the error shown below.  The question:  How can this feature be turned off?
    Error 500--Internal Server Error
    java.lang.NullPointerException
         at jsp_servlet.__reportviewer._jspService(__reportviewer.java:133)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3231)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    Ted,
    jsp code is below... thanks again for all the time you're taking .
    <%@page import="com.businessobjects.samples.CRJavaHelper,
    com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    com.crystaldecisions.sdk.occa.report.data.*,
    java.util.*,
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"%>
    <%!public void jspDestroy() {
              System.out.println("= jspDestroy invoked =");
              //out.println("jspDestroy invoked");
         }%><%
         //TODO: Add cleanup code to clear out cached report when the jsp is done
         try {
              //******* debugging statements
              System.out.println("====== List of Parameters BEFORE ***'t to variables ==============");
              Enumeration parameterNames = request.getParameterNames();
              while (parameterNames.hasMoreElements()) {
                   String parameterName = (String) parameterNames.nextElement();
                   String parameterValue = request.getParameter(parameterName);
                   System.out.println(parameterName + " = '" + parameterValue + "'");
              System.out.println("====== END of List of Parameters =================================");
              //******* end debugging statements
              Object reportSource = null;
              String reportDesc = null;
              String reportFileName = null;
              boolean RptHasCustomParam = false; //used to determine whether to invoke generic rpt
              boolean WhereParamIs1EqualsOne = false; //also used to determine whether to invoke generic rpt
              if (!"CrystalViewer".equals(request.getParameter("CrystalEventTarget")))
                  {//******************** Not postback; i.e. initial invocation from Maximo *************************
                   System.out.println("====== First pass - pre-postback ==========================");
                   //set session attributes
                   //** If the Crystal Viewer has to prompt for parameter(s) because they're missing in the array
                   //** passed from Maximo, then the parameter reportDesc will be null, so must store the fileDescr
                   //** for use in the HTML Title               
                   reportDesc = request.getParameter("reportDesc").toString();
                   session.setAttribute("reportDesc", reportDesc);
                   reportFileName = request.getParameter("reportFile").toString();
                   session.setAttribute("reportFileName", reportFileName);
                   //added 4/13/09 to enable programmatic updating of db connection string in this jsp
                   //commented out 4/15/09; this will now be obtained from the web.xml file
                   //dbName = request.getParameter("connectString").toString();
                   //session.setAttribute("dbName",dbName);
                   if (request.getParameter("where") != null) { //********* debugging *****
                        System.out.println("Where parameter detected");
                        System.out.println("Where parameter value = '"
                                  + request.getParameter("where") + "'");
                        System.out.println("Result of .equals 1=1: '"
                                  + (request.getParameter("where").equals("1=1"))
                                  + "'");
                        //********* end debugging *****
                        if (request.getParameter("where").equals("1=1")) {
                             WhereParamIs1EqualsOne = true;
                             //********* debugging *****
                             System.out.println("set WhereParamIs1EqualsOne = true");
                   System.out.println("====== 'where' test done, ready for client doc setup ==========================");
                   //** client doc setup
                   //** original code for CR4E1
                   ReportClientDocument clientDoc;
                   clientDoc = new ReportClientDocument();
                   clientDoc.open(reportFileName,OpenReportOptions._openAsReadOnly);
                   System.out.println("====== client doc opened ==========================");
                   //** log on to db - does it need to be done in common code?
                   // ****** BEGIN LOGON TO DATASOURCE **************** 
                        System.out.println("======  About to log on to database");
                        //******************************* copied code from 'jrc_change_database_connection.jsp' ***********
                        //The DatabaseController will be used to modify the connection properties of the database before
                        //viewing the report.  This method iterates through each table in the report and changes the
                        //connection info properties. 
                        //     Database name, server name, username and password
                        // Bill Goss 4/15/09 eliminated hard-coded user & pw, getting it from web.xml file
                        String driverName = "oracle.jdbc.driver.OracleDriver";
                        String JNDIName = "";
                        String user_name = application.getInitParameter("user_name");
                        //System.out.println("=== User Name from web.xml = " + user_name);
                        String pw = application.getInitParameter("pw");
                        //System.out.println("=== password from web.xml = " + pw);
                        String server_name = application.getInitParameter("server_name");
                        //System.out.println("=== server_name from web.xml = " + server_name);
                        String db_name = application.getInitParameter("db_name");
                        System.out.println("=== db_Name from web.xml = " + db_name);
                        String connectString = "jdbc:oracle:thin:@"     + server_name.toString()
                                                    + ":1521:" + db_name.toString();
                        //Switch all tables on the main  and sub-report. 
                        CRJavaHelper.changeDataSource(clientDoc, user_name, pw,     connectString, driverName, JNDIName);
                        // logon to database
                        //JRCHelperSample.logonDataSource(clientDoc, user_name, pw);
                        CRJavaHelper.logonDataSource(clientDoc, user_name, pw);
                        System.out.println("Logged on to database");
                   // ****** END LOGON TO DATASOURCE ****************           
                   System.out.println("====== DB logon done; ready to connect parms ==========================");
                   // connect parameters
                   //System.out.println("== inside CONNECT PARAMETERS SNIPPET  ********");
                   //DataDefController myDataDefController = clientDoc.getDataDefController();
                   //IDataDefinition myDefinition = clientDoc.getDataDefController().getDataDefinition();
                   //Fields myFields = clientDoc.getDataDefController().getDataDefinition().getParameterFields().iterator();
                   Iterator myIter = clientDoc.getDataDefController().getDataDefinition().getParameterFields().iterator();
                   Field myField = null;
                   String RptParamName = null;
                   String MaximoParamValue = null;
                   while (myIter.hasNext()) {
                        myField = (Field) myIter.next();
                        // DEBUG statement
                        RptParamName = myField.getName();
                        System.out.println("RptParam: " + RptParamName);
                        //Is this parameter in the Maximo list?
                        if (request.getParameter(RptParamName) != null) {
                             MaximoParamValue = ((String) request.getParameter(RptParamName));
                             if (!(RptParamName.equals("where"))) {
                                  RptHasCustomParam = true;
                                  System.out.println("--Set RptHasCustomParam");
                             System.out.println("-- about to addDiscreteParameterValue");
                             //CR4E2 swapped the parameter order... was clientdoc,rptparamname,subrpt name, new value
                             //                        new order...     clientdoc,subrpt name, rptparamname, new value
                             CRJavaHelper.addDiscreteParameterValue(clientDoc,"",RptParamName, MaximoParamValue);
                             System.out.println("--Added Discrete Parameter Value '"
                                                      + MaximoParamValue
                                                      + "' from Maximo to report");
                   } //end While               
                   System.out.println("====== connected parms ==========================");
                   if (!RptHasCustomParam && WhereParamIs1EqualsOne) {
                        System.out.println("RptHasCustomParam = '"
                                  + RptHasCustomParam
                                  + "'; WhereParamIs1EqualsOne = '"
                                  + WhereParamIs1EqualsOne + "'");
                        // invoke the generic report "Where1Equals1.rpt":
                        // set the report file name so if the user navigates in the page viewer it will still use the generic report
                        session.setAttribute("reportFileName","Where1Equals1.rpt");
                        // - re-instantiate the clientdoc and open it using the generic report name
                        clientDoc = new ReportClientDocument();
                        clientDoc.open("Where1Equals1.rpt",OpenReportOptions._openAsReadOnly);
                        // -     add ReportName as discrete parameter with value from reportDesc
                        //JRCHelperSample.addDiscreteParameterValue(clientDoc, "ReportName", "",(String) request.getParameter("reportDesc"));
                        System.out.println("reportDesc for 1=1 rpt = '"     + reportDesc + "'");
                        CRJavaHelper.addDiscreteParameterValue(clientDoc,"", "ReportName",  reportDesc);
                   } else {
                        //     >> use the existing clientdoc to supply the report source               
                   //** reportsource
                   reportSource = clientDoc.getReportSource();
                   session.setAttribute("ReportSource", reportSource);
                   //** clean up
                   clientDoc.close();
                   System.out.println("====== end of init logic (non-postback) ==========================");
              } else {//******************* postback *****************************************************************************
                   System.out.println("====== processing postback ==========================");
                   reportDesc = session.getAttribute("reportDesc").toString();
                   System.out.println("== got reportDesc: " + reportDesc.toString());
                   reportFileName = session.getAttribute("reportFileName").toString();
                   System.out.println("== got reportFileName: " + reportFileName.toString());
                   reportSource = session.getAttribute("ReportSource");
                   System.out.println("== got reportSource: "      + reportSource.toString());
              //********************************* end init vs. postback logic **************************************
              //********************************* begin common code           **************************************
              //** debug
              System.out.println("reportFileName = '" + reportFileName + "'");
              //** end debug
              //* Set the page title to the report description from Maximo
              out.println("<TITLE>" + reportDesc + " Maximo Report</TITLE>");
                   System.out.println("====== Create & set properties for CR Viewer ================");
                   // >> Create the CrystalReportViewer object
                   CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                   crystalReportPageViewer.setReportSource(reportSource);
                   // set viewer attributes; this is where PDF vs. ActiveX would be set as well
                   crystalReportPageViewer.setOwnPage(true);
                   crystalReportPageViewer.setOwnForm(true);
                   // trying to clear saved/cached data; this allows the user to force a refresh of the data (Crystal will re-prompt for
                   // parameters
                   //crystalReportPageViewer.refresh(); //if this is invoked, the report throws away the parameter values that were passed from Maximo
                   crystalReportPageViewer.setHasRefreshButton(true);
                   crystalReportPageViewer.setEnableParameterPrompt(true);
                   //crystalReportPageViewer.setReuseParameterValuesOnRefresh(true);
                   crystalReportPageViewer.setHasLogo(false);
                   // Apply the viewer preference attributes
                   System.out.println("====== invoke PageViewer.processHttpRequest ==================");
                   // Process the report
                   crystalReportPageViewer.processHttpRequest(request,
                             response, application, null);
                   System.out.println("====== processed HttpRequest using pageviewer ================");
         } catch (ReportSDKExceptionBase e) {
              out.println(e);
    %>

  • How can I set the date field to auto populate the current date?

    I have many forms to create where the current date dictates a specific change in options or conditions for the form filler to follow. I cannot see any way to handle that issue. Is it possible to simply set the current date as a default?
    jcytrny

    Sorry, we currently do not support having today's date show up in a date field by default
    Randy

  • Formatted Search for Delivery Date field in SO not working

    Hi All
    Can anyone help me as to why my formatted search is not working?
    I am currently using SAP B1A SP01 Patch 19.
    I have created a user query as follows:
    SELECT $ [$10.0.DATE] + 5
    When I add this to the delivery field within the Sales Order and bring through the saved query which I set to auto refresh when the Posting Date field changes and to Display Saved Values it doesn't work.
    Any ideas?
    Thanks and best wishes
    Gail

    HI Gail,
    If I am not mistaken you want to add days to the posting date...if that is so then try this out:
    SELECT $[ORDR.DocDate.DATE]+5 From ORDR T0 For Browse
    Set The indicator to Auto Refresh when the fields change
    Nagesh

Maybe you are looking for

  • Updated ITunes but now it won't work

    Ok I didn't see this posted anywhere. I downloaded the latest update for iTunes (10.2 or something like that) and had quicktime and all that updated. Everything went fine and I restarted my computer like it said to do but not when I try to open iTune

  • How to use the Microsoft File Copy dialog box  in Java ??

    Can anyone tell me if it is possible to use the Microsoft File Copy dialog box (the one with the animated gif of the paper flying from one folder to anaother) in a Java. Many thanks

  • Startup HD-Universal Drive Adapter

    i have an 80 gig startup HD from my very old power mac G4 733. i attached NewerTech SuperSpeed USB 3.0 Universal Drive Adapter into my CalDigit 2 Port USB 3.0 Host Adapter using my 2009 mac pro 2.26 quad core. the drive pops onto the desktop but says

  • Flex 2 14 Missing keystrokes

    I just bougt a new Flex 2 14. Overall I am satisfied with performance and build quality. However it is missing a lot of keystrokes. Further inspection revealed that I have to hit the very center of a button in order for the keystroke to be recognized

  • Unable to create a CVS Connection in Jdev

    Hi Im sucessfull getting CVS connection, if i connect JDEV to CVS when both are on the same machine A. Im using Windows XP Professional. Im are trying to connect the Jdev in machine B to the CVS Repository on machine A. Its a multiple developer envir