I have a sql table consisting of dept_name and dept_code.and on the form i have textbox for dept_code and combobox for dept_name.When i select a particular dept_name from the combobox i should get the corrosponding dept_code in the textbox.
kritiohri
0
Newbie Poster
Recommended Answers
Jump to PostHi,
it should be easy;
show me your codes;
good luck;
Jump to PostOk
in Combobox event changeindex (or something like that)
try to send Sql statement with the value you get then
put the result in your textbox
All 6 Replies
Bandar.M.A
0
Newbie Poster
kritiohri
0
Newbie Poster
Bandar.M.A
0
Newbie Poster
jbrock31
11
Junior Poster in Training
jireh
3
Posting Whiz
Praniya
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.