Skip to Content
0
Former Member
Jul 03, 2007 at 02:38 AM

Re:Dialog programming

23 Views

Hi,

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/p

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

MODULE OBLIGATORY OUTPUT.

select count( distinct ZSNO ) into count from ZSD12 .

if count is initial.

count = 1.

else .

count = count + 1.

endif.

loop at screen.

SNO = count.

modify screen.

endloop.