Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cursor position

Former Member
0 Likes
438

Hi,

I have written report which generates a outbound file.

And is downloaded to local pc as .txt file.

When i open it in notepad and do the operation as

Ctrl+ End button it goes to end of file.

eg:- if file contains 11 rows.

If i do the action Ctrl+end(button) cursor goes to 12th line.

My problem is that, When do action as Ctrl+end(button) cursor must go to end of 11th line not beginning ot 12th line.

2 REPLIES 2
Read only

Former Member
0 Likes
402

Hi,

Probably you are appending a blank line or a carriage return to the file. Check that and see in your code.

regards,

Advait

Read only

former_member156446
Active Contributor
0 Likes
402

there would have been a carriage return or line feed at the end of the records(rows).

when some other program consumes that file , if this carriage return is not present , all the data would be showing up in a single line... try creating a small prg. to consume this file and see.. if you have any problem.