The user wants to use always the 'exit-field'-key. Now I want to set a
default in a particular field and change the 'tab-order' so that the
cursor comes first in the other fields. The last field should be the
default-field; if the user don't want to change the default, he can
simply press Enter.
Check out the FLDCSRPRG keyword. It'll tell you what you want to
know, and how to do it.
Bradley V. Stone
bvs...@usa.net
http://prairie.lakes.com/~bvstone/
1992 Yamaha FJ1200
1969 Suzuki T250
"I got this Jookie Sea Captain!" "Arrr!"
Johan Gilis <Joh...@mail.dma.be> wrote in article
<346C943D...@mail.dma.be>...
> Is it possible to change the normal way (namely from left to right, and
> from up to down)
> that the cursor follows from field to field (in PC-language: tab-order)?
>
> The user wants to use always the 'exit-field'-key. Now I want to set a
> default in a particular field and change the 'tab-order' so that the
> cursor comes first in the other fields. The last field should be the
> default-field; if the user don't want to change the default, he can
> simply press Enter.
>
>
>
If all you want to do is to define a different starting point for the
cursor when the screen is first displayed, you can use the keyword
DSPATR(PC) to position the cursor on the first charactor of the desired
field.
If you actually want to control the order that all the fields are entered,
according to the help, the keyword FLDCSRPRG specifies the name of the
field the cursor goes to when you leave the current field. I have never
used the second keyword so I don't know how well it works
be advised, The DDS manual states on FLDCSRPRG:
Use this field-level keyword to define the field to which the cursor moves when exiting this
field. The FLDCSRPRG keyword is ignored when the work station is not attached to a controller
that supports an enhanced data stream.
Johan Gilis wrote
>Is it possible to change the normal way (namely from left to right, and
>from up to down)
>that the cursor follows from field to field (in PC-language: tab-order)?
>
>The user wants to use always the 'exit-field'-key. Now I want to set a
>default in a particular field and change the 'tab-order' so that the
>cursor comes first in the other fields. The last field should be the
>default-field; if the user don't want to change the default, he can
>simply press Enter.
>
>
You can add an DSPATR(PC) to the default-field. So the cursor will be on
this field.
Maybe this is enough for you
HTH
Ronald