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

cursor

Hi...

i want to get the cursor in the next line after entering the data, so that i can enter the data in next line . please give me code .

and please check this code its not working...

&----


*& Module set_cursor OUTPUT

&----


  • text

----


data : r_line type i.

module set_cursor output.

set cursor field record-name line TCTRL_PHONELIST-current_line.

endmodule. " set_cursor OUTPUT

&----


*& Module get_cursor INPUT

&----


  • text

----


module get_cursor input.

get cursor field record-name line r_line.

r_line = r_line + 1.

TCTRL_PHONELIST-current_line = r_line.

endmodule. " get_cursor INPUT

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 02, 2007 at 05:39 AM

    Hi,

    You can use the SET CURSOR statement to set the cursor to the desired field.

    SET CURSOR { { FIELD field [LINE line] [[DISPLAY] OFFSET off] }

    | { col lin } }.

    Regards,

    Vinodh.

    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.