Skip to Content
author's profile photo Former Member
Former Member

Printing string of length more than 255

Hi

I have to print a string which is of length more than 250 in smartforms.

if the length of the string is more than 255 , smartform prints only upto 255 ,even if am putting it to tables of a main window.

Please do the needful.

Regards

Meikandan

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2007 at 05:18 AM

    Define a character field of the desired length and use this variable in the smart forms. Strings will be able to hold a maximum of 255 characters.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2007 at 05:20 AM

    Hi,

    Smartform prints only first 255 chars of the string. instead of two strings try addding the same field with offsets:

    &G_TEXT(255)&&G_TEXT255(255)&&G_TEXT510(255)&

    <b>Reward points</b>

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 11, 2007 at 05:22 AM

    Do it like this, using offset values.

    string1 = string+0(255).

    string2 = string+255(255).

    etc.,

    Regards,

    Sairam

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.