Skip to main content

Hi,

we use multiline entry fields like this:

01  t01-table.

02  t01-record occurs 99 indexed by t01.

03 t01-text pic x(80).

02 entry-field

using multiple t01-record

use-return ...

Every line of the entry-field is a record in the table.

But is there a way to tell if the "line break" results from a word-wrap or if the user has hit enter ?

Hi,

we use multiline entry fields like this:

01  t01-table.

02  t01-record occurs 99 indexed by t01.

03 t01-text pic x(80).

02 entry-field

using multiple t01-record

use-return ...

Every line of the entry-field is a record in the table.

But is there a way to tell if the "line break" results from a word-wrap or if the user has hit enter ?

Good afternoon, aw_muench

Can this other article help you?


Good afternoon, aw_muench

Can this other article help you?

I don't think that this posting deals with (or aswers) my problem.

I'll try again:

When the user leaves a multiline entry field with several lines entered: can you tell where the user entered new-line and / or where the line break results from a word-wrap ?

Do you think the line where the user hit enter should end with a x"0a" ? In our environment it does not.


I don't think that this posting deals with (or aswers) my problem.

I'll try again:

When the user leaves a multiline entry field with several lines entered: can you tell where the user entered new-line and / or where the line break results from a word-wrap ?

Do you think the line where the user hit enter should end with a x"0a" ? In our environment it does not.

There is currently no way to distinguish in the data the difference between a line break from word wrap, and a line break from the user pressing Return.  If you need this type of feature you'll need to look into a .NET control.