2010 Aug 16 9:07 AM
HI ALL,
I am facing some problem displaying the check box as marked or flagged when displaying the record.
my requirement is that when i display a record it should also display the check box as marked. how do i do that. help me with the code.
i have 8 checkboxes and when each checkbox is marked, the respective field is filled with a record. and when i display ( using push button) the selected record , it should show me the check box as marked if the field is not empty. how do i do it?
HI ALL,
I am facing some problem displaying the check box as marked or flagged when displaying the record.
my requirement is that when i display a record it should also display the check box as marked. how do i do that. help me with the code.
i have 8 checkboxes and when each checkbox is marked, the respective field is filled with a record. and when i display ( using push button) the selected record , it should show me the check box as marked if the field is not empty. how do i do it?
2010 Aug 16 9:45 AM
hii
when you create the check box you have given some name for it right? say eg its name was check1..
so when all the input fields are filled wit data when enter is pressed go to code where you wrote what happens when enter is pressed there you put check1 = 'X'.(captial X)
For all check boxes you do the same your check boxes will be checked after the submit or enter or save button is clicked in your case.
it will not go blank.after the inputs are taken..try it i hope this will solve your problem..
regards
kavita
2010 Aug 16 11:03 AM
LOOP AT T_SFLIGHT INTO sflight.
WRITE:
/ SFLIGHT-FLDATE,
SFLIGHT-SEATSMAX,
SFLIGHT-SEATSOCC.
MODIFY CURRENT LINE FIELD FORMAT BOX INPUT on.
BOX = 'X'.
MODIFY CURRENT LINE FIELD VALUE BOX.
ENDLOOP.
ULINE.
Try the highlighted lines.It will helps u.I
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |