S
sulaiman chang via AccessMonster.com
hi all,
i am sulaiman from malaysia.
i need some help regarding Ms Access option button.
let say i have a database structure like below :
id -----------> data type
bGender ------> byte
and let say the form have 2 option buttons.
one is Male and another one is Female.
( ) Male ( ) Female
let say in the form also got a textbox [___________] which would store the
gender value, 0 equal to Male and 1 equal to Female.
and i wish the option button would be automatically checked based on the
textbox value (once the record is displayed or when user press the next or
back from the default data control), if textbox value is 0, then the (*)
Male should be checked and ( ) no check in Female.
let say if the user checked on option male, then the male option box must
be checked and the value of the textbox must be change to "0"...
i am having the problem to "TRAP" the acNext event. could your guys give me
some ideas ?
sincerely,
sulaiman chang
i am sulaiman from malaysia.
i need some help regarding Ms Access option button.
let say i have a database structure like below :
id -----------> data type
bGender ------> byte
and let say the form have 2 option buttons.
one is Male and another one is Female.
( ) Male ( ) Female
let say in the form also got a textbox [___________] which would store the
gender value, 0 equal to Male and 1 equal to Female.
and i wish the option button would be automatically checked based on the
textbox value (once the record is displayed or when user press the next or
back from the default data control), if textbox value is 0, then the (*)
Male should be checked and ( ) no check in Female.
let say if the user checked on option male, then the male option box must
be checked and the value of the textbox must be change to "0"...
i am having the problem to "TRAP" the acNext event. could your guys give me
some ideas ?
sincerely,
sulaiman chang