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

Forms to be printed basing on the Text details.

Hi Experts,

I have one different requirement. For one invoice i have to pick the Text. Basing on the Text i have to print the forms.

For example, Invoice 180000050 has text like 1234/4567/8901, now three forms to be printed saying 180000050.1 180000050.2 180000050.3.

If the invoice has text like 1234/4567, then 2 forms should be printed like 180000050.1 180000050.2.

If the Invoice has no text element then only one foem should print. ie., 180000050

Thanks & Regards,

Ramana

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 10:18 AM

    Any Suggestions?

    Thanks,

    Ramana

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 12:38 PM

    Hi Ramana,

    Store that text in string and use FIND statement with MATCH COUNT mcnt option to findout how many times '\' character occurs.

    As per your example if the '\' is exists 2 times print the invoice 3 times .

    ex: If the integer variable in FIND stmt mcnt is 2 .

    mcnt = mcnt + 1.

    print invoice mcnt times.

    Like above write the logic.

    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.