hubermar
asked on
DataBase records in a Combo Box
I want to allow the user to view and select Access database records in a combo or list box. Upon selecting a record, bring up another form with more fields for the selected record. I already have a form that allows the user to view the records, but in textboxes, not a list, or in table form.
Thanks for your efforts,
hubermar
Thanks for your efforts,
hubermar
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hubermar,
In your toolbox, there is a control called a data control, (just move your mouse over and the tooltip will show "Data". Click on it and then drop one in your form, just like you do with textbox or lable... It shoul automatically name it data2 (since you already have data1).
Let me know if I can be further help. Just add commends to the question. Don't warry, every one has a learning process. I have been there before.
Regards
Dalin
In your toolbox, there is a control called a data control, (just move your mouse over and the tooltip will show "Data". Click on it and then drop one in your form, just like you do with textbox or lable... It shoul automatically name it data2 (since you already have data1).
Let me know if I can be further help. Just add commends to the question. Don't warry, every one has a learning process. I have been there before.
Regards
Dalin
ASKER
Dalin,
I'm with you till we get to the query. Do i create the query in ACCESS or use the VisData? I can see that we need to stick a variable in the query, but i don't know how to do that.
Select * from dredge where Name: = DBCombo2.Text ;
Syntax must be wrong...
I do understand where you are going with this. Makes plenty sense, but the variables are killing me.
Thanks,
hubermar
I'm with you till we get to the query. Do i create the query in ACCESS or use the VisData? I can see that we need to stick a variable in the query, but i don't know how to do that.
Select * from dredge where Name: = DBCombo2.Text ;
Syntax must be wrong...
I do understand where you are going with this. Makes plenty sense, but the variables are killing me.
Thanks,
hubermar
ASKER
I guess that this is above my head. I'll keep trying...
thanks,
hubermar