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

Help reqd to generate index(sl.no) automatically

Hi all,

Im working on smartform and i want to declare a code in that only.

I want to generate a serial number continuosly(like an index) for each item/material wise in my main window.

FYI-coding i've declared

*******

CLEAR: PG_INDEX.

INDEX1 = INDEX1 + 1.

PG_INDEX = INDEX1.

&PG_INDEX&

************

no errors but im not getting the number in the output display.

Pls post ur replies with examples.

thanks & regards

sankar.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 05, 2007 at 08:34 AM

    delare a vairable count in global definition wid type i.

    den create program lines and code as

    count = count + 1.

    giv count as export parameter and den display it in text

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 09:01 AM

    THANKS A LOT.

    DONE IT ALREADY....MISTAKE WAS ON MY SIDE...IN PRINTER FORMAT.

    REGARDS

    SANKAR.

    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.