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

Re:Dialog programming


How to auto generate the serial number in dialog programming ,

i have created one field SNO( i/p field) , when i click create it should insert into database, when i click select , what ever the records there in database should reflect on table control , but when i click select, it is giving make entry in all fields

eg: SNO-- >i/p field -->should generate automatically

Mail1 -

> i/p

mail2 -


i have written the code like this but my select button is not working properly


select count( distinct ZSNO ) into count from ZSD12 .

if count is initial.

count = 1.

else .

count = count + 1.


loop at screen.

SNO = count.

modify screen.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 02:50 AM


    Select your required records into internal table ,which you have added at the time of creation of table control.(Means while creation of table control it will ask for structure whether database table or internal table. )

    Then it will work....

    Don't forget to reward if useful...

    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.