Hello,
I have a DSPF with certain fields and I need to use FLDCSRPRG to dictate which fields the cursor should go to when using tab. However, some of these goto fields may be hidden/protected. When this happens, tab makes the cursor go to the next input field, which messes up my tab order.
FLDCSRPRG can not be conditionned. It's also not possible to have several FLDCSRPRG on the same field (with a different goto field as the parameter), nor is it possible to indicate more than one field. Does anyone have any idea how this can be acheived?
My coworkers suggested CSRLOC or the attribute DSPATR(PC), but these only work when redisplaying the format.
Thanks.
I have a DSPF with certain fields and I need to use FLDCSRPRG to dictate which fields the cursor should go to when using tab. However, some of these goto fields may be hidden/protected. When this happens, tab makes the cursor go to the next input field, which messes up my tab order.
FLDCSRPRG can not be conditionned. It's also not possible to have several FLDCSRPRG on the same field (with a different goto field as the parameter), nor is it possible to indicate more than one field. Does anyone have any idea how this can be acheived?
My coworkers suggested CSRLOC or the attribute DSPATR(PC), but these only work when redisplaying the format.
Thanks.

