Hello everyone i am a student who has very little knowledge about programming.
I would like to know if there is a way to load list from a database to a combo box.
there are two fields in my database namely: Age and Allowance.
what i want is to load age in the combo box.then i will have the textbox locked.when i choose an age in the combo box i want the text box to show the equivalent allowance for the age.. is that possible?
and how?
for example:
in my database the field Age has: 10,11,12,13,14,15,16
and the allowance i have: 50,60,70,80,90,100,110
as i have said earlier i want to load the data of Age in the combo box
and when i choose an age (e.g. 10) i will get the equivalent allowance (in this case 50)
thank you and God Bless.