ERROR(web elements)- A string can be at most 65534 characters long

Hello
I  have a 2 level dynamic cascading prompt in crystal reports. 1st level distinct count of values->223 but
second level distinct count of values->30,133. I am able to track these values in the sub report.
while passing the values from subreport to main report to show as a list box using select cascade...i am getting the run time error
"A string can be at most 65534 characters long" in the subreport formula.
please provide me a solution for this as soon as possible.
Version-CR XI R2.
Database-Oracle 9i
Thanks in advance
-Chaitanya

Hi Jamie
Thanks for your reply. I separated the list of values as you specified in step A in the query itself.
Now I am able to pass the values from sub report to main report.
But not getting idea to concatenate the separated list of values in to a single list box on the main report.
[In the main report-> I have created 4 parameters in place of 2 parameters like [MFG_Site1, MFG_Site2, SKU1, and SKU2]
According to the Syntax,  I have used the same parameter name for element name in weselectcascade function.
in the main report, created 2 weselectcascade functions  for Mfgsite(MFG_Site1,MFG_Site2)
                                          2 weselectcascade functions for SKU (SKU1, SKU2)
2 separate list boxes I am getting on the report (one for A to M, other for N to Z)
Please provide me a solution to combine these two in to a single list box.
Thanks
Chaitanya

Similar Messages

  • A string can be at most 65534 characters long error

    The following formula is causing the error.  How can I fix this formula to correct the error?
    whileprintingrecords;
    stringvar f:= f + {HNO_NOTE_TEXT.NOTE_TEXT};

    yes, you'd need to create a bunch of formulae to get around this...one main formula that creates a bunch of string running totals and then some display formulas. the display formulas would then be put into a Text Object.
    the formula below uses a buffer (as mentioned below) of 500 characters...adjust this to the longest length of the note field...i.e. if the note field can be up to 2000 characters, then set b to 2000.
    create a new formula like...
    //@main formula
    whileprintingrecords;
    stringvar t:= {HNO_NOTE_TEXT.NOTE_TEXT};
    numbervar b:= 500;
    stringvar f1; stringvar f2; stringvar f3;
    stringvar f4; stringvar f5; stringvar f6;
    b:= 65534 - b;
    if len(f1) <= b then f1:=f1+t
    else
    if len(f2) <= b then f2:=f2+t
    else
    if len(f3) <= b then f3:=f3+t
    else
    if len(f4) <= b then f4:=f4+t
    else
    if len(f5) <= b then f5:=f5+t
    else
    if len(f6) <= b then f6:=f6+t;
    create another formula and put this in a text object...
    //@display1 formula
    whileprintingrecords;
    stringvar f1;
    create another formula and put this in the text object beside the above formula...
    //@display2 formula
    whileprintingrecords;
    stringvar f2;
    repeat the steps for creating new formulae 'til you've got one for stringvar f6;
    if you want to reset the string running total on a Group level then also create a reset formula for the group header.
    whileprintingrecords;
    stringvar f1:= ''; stringvar f2:= ''; stringvar f3:= '';
    stringvar f4:= ''; stringvar f5:= ''; stringvar f6:= '';

  • Error: String can be at most 65534 characters

    Hi,
    I am using Crystal XI
    I have a string variable in my formula that gathers log ids found when report is run. I then use this variable to display records in my subreports. But when I run a report with wider search criteria I get an error - Error: String can be at most 65534 characters.
    How can I get rid of this error? Below is my formula
    WhilePrintingRecords;
    Global StringVar Array_Name;
    numbervar slno;
    Array_Name:= Array_Name & Cstr({PMP.LOG_ID}, 0) & ",";
    if {@TimelyComplete}= 0 then
    slno:= slno+ 1;
    What would be an alternative solution for this problem?
    Thanks for your help!
    -Ekta

    Storing the values would look something like this (basic syntax):
    global vals(1) as string
    global nextIndex as number
    if nextindex = 0 then
      nextIndex = 1
    end if
    if len(vals(nextIndex)) + len({field_to_add}) > 65530 then
      nextIndex = nextIndex + 1
      redim preserve vals(nextIndex)
      vals(nextIndex) = {field_to_add}
    else
      vals(nextIndex) = vals(nextIndex) + ", " + {field_to_add}
    end if
    HTH,
    Carl

  • The JSP WYSIWYG Editor can't display most Unicode characters

    Eclipse supports display of Unicode characters very well since version 3. However, NitroX couldn't display most most of them. Well, besides characters from other non-Western European languages, NitroX can't even display characters that it's supposed to support. Well, that's what I think so. I mean, when we type the & character, we have the whole list of character entity references amongst which we could find &and; &nabla; &or; &rarr; but which are not displayed correctly. And many more are in this case.
    Is this a feature or a bug? By "feature", it means that we can't get them in free version.

    I have exactly the same problem. I support web pages for 25 European countries. I've not seen Nitrox support any unicode characters. Until M7 answers this question or fixes the editor, you can use the Eclipse editor to see and edit the text.

  • No posting string can be determined in table T156SC

    Dear Gurus,
    I am trying to release the production order. when i am checking cost or the order in CO02 transaction, system is giving error as
    " No posting string can be determined in table T156SC"
    please help me out.
    Regards
    Sandeep

    Hi,
    I had alreay try in OMJJ, but i was not getting exactly which line to be chosen.
    As i am doing the costing for my production order, i am unable to understand which line to be chosen and how to update.
    can you please explain in detail. As I am from PP module, i am unable to resolve.
    Regards
    Sandeep

  • Validation Rule - Should contain only alphabets and can be upto 4 characters long

    Hi, I am using MDS 2012 and want to create a business rule for data validation which says,
    "Should contain only alphabets and can be up to 4 characters long". How can I create such a rule in MDS? Also the Code and Name attributes are 250 characters by default. How to restrict them to 4 characters if business need them to be 4 or
    less character?
    Any help appreciated.
    Thanks, Ashish Singh

    When creating a business rule, under Actions there is "Must be maximum length of" and "must contain patern".
    See:
    http://technet.microsoft.com/en-us/library/ff487015.aspx

  • How can I put all output error message into a String Variable ??

    Dear Sir:
    I have following code, When I run it and I press overflow radio button, It outputs following message:
    Caught RuntimeException: java.lang.NullPointerException
    java.lang.NullPointerException
         at ExceptionHandling.ExceptTest.actionPerformed(ExceptTest.java:72)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6038)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
         at java.awt.Component.processEvent(Component.java:5803)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4410)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4240)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2429)
         at java.awt.Component.dispatchEvent(Component.java:4240)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)Caught RuntimeException: java.lang.NullPointerException
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)I hope to catch all these error message into a String Variable such as StrErrorMsg, then I can use System.out.println(StrErrorMsg) to print it out or store somewhere, not only display at runtime,
    How can I do this??
    Thanks a lot,
    See code below.
    import java.awt.Frame;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.io.FileInputStream;
    import javax.swing.ButtonGroup;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JRadioButton;
    public class ExceptTest extends JFrame implements ActionListener {
        private double[] a;
      private JRadioButton divideByZeroButton;
      private JRadioButton badCastButton;
      private JRadioButton arrayBoundsButton;
      private JRadioButton nullPointerButton;
      private JRadioButton negSqrtButton;
      private JRadioButton overflowButton;
      private JRadioButton noSuchFileButton;
      private JRadioButton throwUnknownButton;
      public ExceptTest() {
        JPanel p = new JPanel();
        ButtonGroup g = new ButtonGroup();
        p.setLayout(new GridLayout(8, 1));
        divideByZeroButton = addRadioButton("Divide by zero", g, p);
        badCastButton = addRadioButton("Bad cast", g, p);
        arrayBoundsButton = addRadioButton("Array bounds", g, p);
        nullPointerButton = addRadioButton("Null pointer", g, p);
        negSqrtButton = addRadioButton("sqrt(-1)", g, p);
        overflowButton = addRadioButton("Overflow", g, p);
        noSuchFileButton = addRadioButton("No such file", g, p);
        throwUnknownButton = addRadioButton("Throw unknown", g, p);
        getContentPane().add(p);
      private JRadioButton addRadioButton(String s, ButtonGroup g, JPanel p) {
        JRadioButton button = new JRadioButton(s, false);
        button.addActionListener(this);
        g.add(button);
        p.add(button);
        return button;
      public void actionPerformed(ActionEvent evt) {
        try {
          Object source = evt.getSource();
          if (source == divideByZeroButton) {
            a[1] = a[1] / a[1] - a[1];
          } else if (source == badCastButton) {
            Frame f = (Frame) evt.getSource();
          } else if (source == arrayBoundsButton) {
            a[1] = a[10];
          } else if (source == nullPointerButton) {
            Frame f = null;
            f.setSize(200, 200);
          } else if (source == negSqrtButton) {
            a[1] = Math.sqrt(-1);
          } else if (source == overflowButton) {
            a[1] = 1000 * 1000 * 1000 * 1000;
            int n = (int) a[1];
          } else if (source == noSuchFileButton) {
            FileInputStream is = new FileInputStream("Java Source and Support");
          } else if (source == throwUnknownButton) {
            throw new UnknownError();
        } catch (RuntimeException e) {
          System.out.println("Caught RuntimeException: " + e);
          e.printStackTrace();
          System.out.println("Caught RuntimeException: " + e);
        } catch (Exception e) {
          System.out.println("Caught Exception: " + e);
      public static void main(String[] args) {
        JFrame frame = new ExceptTest();
        frame.setSize(150, 200);
        frame.addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            System.exit(0);
        frame.show();
    }

    yes, I update as follows,
    but not looks good.
    import java.io.*;
    public class UncaughtLogger implements Thread.UncaughtExceptionHandler {
        private File file;
        private static String errorMessage;
        public UncaughtLogger(File file) {
            this.file = file;
            //Thread.setDefaultUncaughtExceptionHandler(this);
        public UncaughtLogger(String str) {
            this.errorMessage = str;
            Thread.setDefaultUncaughtExceptionHandler(this);
        //@Override()
        public void uncaughtException(Thread t, Throwable e){
            try {
                log(e);
            } catch (Throwable throwable) {
                System.err.println("error in logging:");
                throwable.printStackTrace();
        private void log(Throwable e) throws IOException {
            PrintWriter out = new PrintWriter(new FileWriter(file, true));
            try {
                e.printStackTrace(out);
            } finally {
                out.close();
        private static UncaughtLogger logger = new UncaughtLogger(new File("C:/temp/log.txt"));
        private static UncaughtLogger logger2 = new UncaughtLogger(errorMessage);
        public static void main(String[] args) {
                String s1 = "Hello World!";
                s1 = null;
                String s2 = s1.getClass().getName();
                System.out.println(s1);
                System.out.println(s2);
                System.out.println("errorMessage =" + errorMessage);
    }

  • Error: Invalid element 'servlet' in content of 'web-app'

    Hi,
    I m working on a project that includes JSPs, whenever I wanna add JSP to my project it shows following compilation error:
    Invalid element 'servlet' in content of 'web-app', expected elements '[error-page, taglib, resource-env-ref, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref, ejb-local-ref]'
    I have thoroughly checked the web.xml. It is perfectly alright. It is as follows:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    <servlet>
    <servlet-name>myServlet</servlet-name>
    <servlet-class>com.project.MainServlet</servlet-class>
    <init-param>
    Long postings are being truncated to ~1 kB at this time.

    The Complete web.xml is as follows:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    <servlet>
    <servlet-name>montana</servlet-name>
    <servlet-class>com.masstech.montana.boundary.uii.MainServlet</servlet-class>
    <init-param>
    <param-name>db</param-name>
    <param-value>MontanaDS</param-value>
    </init-param>
    <init-param>
    <param-name>user</param-name>
    <param-value>MS</param-value>
    </init-param>
    <init-param>
    <param-name>password</param-name>
    <param-value>MS</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-n[i]Long postings are being truncated to ~1 kB at this time.

  • New Adobe Photoshop elements 11-can not share pictures. I do use AOL email. Get error of "Elements 11 Organ. has stopped working,  I have looked into sharing tab and my only option is Adobe email settings.  I do have outlook set up to work on computer run

    New Adobe Photoshop elements 11-can not share pictures. I do use AOL email. Get error of "Elements 11 Organ. has stopped working,  I have looked into sharing tab and my only option is Adobe email settings.  I do have outlook set up to work on computer running windows 8.1  Please help, Mainly use to share pictures.  Thanks!

    One thing puzzles me:
    RedClayFarmer wrote:
    I then found one suggestion that the problem might involve permissions. The suggestion was to right click PhotoshopElementsOrganizer.exe in its installation folder (which on my computer is at at D:\Photo\Elements 11 Organizer) and run Organizer as an administrator. This also failed.
    I don't understand why running the exe from the installation folder would have worked.
    I would have simply tried to run that exe from its real location :
    Sorry, I can't help you more about permissions...

  • I can't open Photoshop elements  error message 150:30 How can I do?

    I can't open Photoshop elements  error message 150:30 How can I do? Mac OSX

    Reinstall, using your discs and serial number. Never restore from backup.
    Gene

  • I've used Project Web App on Sharepoint 2013. After clear job queue about force check-in then I've got this error. This made me can't access some pages in PWA anymore e.g. Project center, Resoure center, PWA setting, etc.

    I've used Project Web App on Sharepoint 2013. After clear job queue about force check-in then I've got this error. This made me can't access some pages in PWA anymore e.g. Project center, Resoure center, PWA setting, etc.  Who have ever found this problem,
    pls. help.
    The pop up error msg. is "Sorry, you don't have access to this page"

    Hi,
    According to your description, after you cleared job queue about force check-in then you can't access some pages in PWA.
    Maybe you need to check in the pages which has been checked out.
    If you have administrative rights, it is possible to override the check-out via the View All Site Content page:
    Site Actions->View All Site Content->Pages->Hover the item you want to check in, and from the context-menu (arrow-down next to the filename), choose "Discard Check Out"
    Besides, to troubleshooting the error “Sorry, you don't have access to this page”, refer to the following articles:
    http://sharepoint.rackspace.com/sharepoint-2013-troubleshooting-an-access-issue-with-a-custom-master-page
    http://technet.microsoft.com/en-us/library/ff758656(v=office.15).aspx
    In addition, as this issue is related to project server, I suggest you create a new thread on project server, more experts will assist you:
    https://social.technet.microsoft.com/Forums/projectserver/en-US/home?category=project
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Purchased and downloaded elements one yr. ago.  Now new computer.  Have CD, tried to install, after entering S/N get error-"not valid number"  What can I do?

    Purchased and downloaded elements one yr. ago.  Now new computer.  Have CD, tried to install, after entering S/N get error-"not valid number"  What can I do?

    Go here (You may need to use the chat option.):
    Activation & Deactivation Help
    This is the Photoshop Forum.
    Note to mod: Please move to the Photoshop Elements forum.

  • I just purchased photoshop elements and went to retrieve my serial code.  The web page provided to retrieve it loads blank, even when clicking on the URL through adobe's web site.  I can not install my product without this.  Please help

    I just purchased photoshop elements and went to retrieve my serial code.  The web page provided to retrieve it loads blank, even when clicking on the URL through adobe's web site.  I can not install my product without this.  Please help

    Drusso77 if you are continuing to face difficulties locating your serial number then please see Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html.  You are also welcome to contact our support team at http://adobe.ly/1aYjbSC.

  • Can I use Web App data string (image) in a CSS hover function?

    I am developing a "show and tell" company employee profile using the Web App. I built my list item and the detailed items. Works fine. However, I have no hover function. So I created  some css - a div id and added a background image then a div hover with another image for the hover. This worked. I moved the code over from Dreamweaver to BC – inside the Web App (the list template). I replaced the image paths with the Web App data string - image ( ex. {tag_employee photo} ). Then I did the same for the hover – I switched out the image to the data string ( ex., {tag_employee photo2} ). It doesn't work now.
    All the CSS is written inside the body so it's not pulling from an outside path. I figured an outside path may not understand the data string.
    How can I get this to link with the image data string? Am I missing something?
    How can I create a image switch using CSS and the hover function WITH the BC Web App data strings?
    Below is how I wrote the DIV id:
    # List_photo {
        height: 200px;
        width: 200px;
        background-image:url("{tag_employee photo (200px)}");
        position: relative;
        margin-bottom:10px;
        display:block;
    # List_photo:hover {
        height: 200px;
        width: 200px;
        background-image:url("{tag_employee photo (hover)}");
        position: relative;
        margin-bottom:10px;
        display:block;
    Thanks!
    Robert

    Hi Robert,
    The concept of what you are doing will work (so long as the <style>s are on the actual page) but you need to append '_value' to any image tag to get the image url and not the HTML output of the image.
    So your tag would be {tag_employee photo (hover)_value}

  • Thinkpad S1: Can't left-click some web elements with trackpad/mouse but can click with touchscreen?

    Hey so this is a strangely specific problem.
    For some websites I cannot click some drop-down menus with my cordless mouse, the trackpad, or trackpoint buttons, but am able to when I press on the touchscreen. Same with some online games I used to play like: http://shape.method.ac/
    In the website above, I can't click and drag where it says to "Drag to get started' (For anyone else maybe experiencing the same problem) with my mouse, but pressing and dragging on the touchscreen works just fine.
    Stylus doesn't work either.
    Other items are still clickable.
    I can open and close windows just fine, most links work, but it's these graphic elements that I can't interface with. I can't tell if this is an OS problem, browser, or something like HTML5 causing it.
    It happens consistently though. Any help would be most appreciated.

    I'm having this exact same problem but it doesn't seem related to sleeping. It just happened randomly, and restarting hasn't helped.

Maybe you are looking for

  • I am really in trouble with AP Div-How do I fix it on the web?

    Hi, I am really in trouble with my website. I have added some pictures and text on top of Fireworks Image and have published it on the website. But the concern is, when I zoom in & zoom out, I can see the previous text on the screen and also the pict

  • Sharing DV video on externl HD between Mac & XP

    Hi, I tried finding a post regarding this already but I'm still unclear. I don't know alot about media formats and if different OSs store them differently. My situation is: 1. I have an external HD (320gb) and I created 2 partitions, one for mac and

  • Profit center wise Restriction

    Dear Guru's, My clients want to restrict the users profit centre wise in accounting point of view. Can any one guide me to create profit centre wise authorisation for the user restriction. Thanks in advance, Anbu M.

  • InDesign CS3 and OS 10.5.8 Tabloid Print Problem

    I recently upgraded my G5 Power PC to OS 10.5 Leopard. Now I am unable to print 11 x 17 documents created in InDesign CS3 without a significant portion of the file beign "cut off" at the header. This also applies to attempts to print the same file, s

  • [CS3] How to get whether a UID is a spread, page, page item?

    Hello! I have an UID. How can I get whether behind the UID is a spread or a page or a page item? Alois Blaimer