Cursor problem - DSPF
2 posters
Page 1 of 1
Cursor problem - DSPF
I have a header record ( NORMAL RECORD ) with few input capable fields and subfile records with option field. After selecting the particular subfilr record then next screen will be displyed. After come back to main screen ( which has header + subfile ) the cursor is on the first input field on the header rec. But I want cursor on the oprion field where I have entered the option.
Can you help me?
Raj
Can you help me?
Raj
rajkumar400- Posts : 59
Join date : 2010-12-25
Cursor Problem - DSPF
Two ways as far as i Know
One :
Go to display attribute property of display
file and position the cursor on desire fields by
DSPATR(PC).cursor will be set on that field even after
returning back to main screen.
Other option is
There is a keyword CSRLOC(F1 Row C1 Col), you have to
specify the location(which row or column). The system
positions the cursor before the output operation is
performed on the record that is being specified.
One :
Go to display attribute property of display
file and position the cursor on desire fields by
DSPATR(PC).cursor will be set on that field even after
returning back to main screen.
Other option is
There is a keyword CSRLOC(F1 Row C1 Col), you have to
specify the location(which row or column). The system
positions the cursor before the output operation is
performed on the record that is being specified.
kushaalrathi- Posts : 12
Join date : 2010-12-26
Re: Cursor problem - DSPF
Thanks.
DSPATR(PC) and CSRLOC. When you specify both which one will have a priority?
Is there any other way?
Raj
DSPATR(PC) and CSRLOC. When you specify both which one will have a priority?
Is there any other way?
Raj
rajkumar400- Posts : 59
Join date : 2010-12-25
Similar topics
» KEEP & ASSUME DSPF Keywords.
» DISPLAY WINDOW message without DSPF
» SORTING - DESCEND problem
» Cursor and its types?
» Position the file cursor in CL
» DISPLAY WINDOW message without DSPF
» SORTING - DESCEND problem
» Cursor and its types?
» Position the file cursor in CL
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|