|
-
Mar 24th, 2005, 02:34 AM
#1
combo box query
There is a combo box in a form and there is a table say tableone.mdb. the table has a field say 'name'.
the combo box should show all the names in that field. I don't want to use the data control
-
Mar 24th, 2005, 05:18 AM
#2
Re: combo box query
Thats nice.
So what have you done so far?
Searched the forums (button at top)?
Checked online for tutorials??
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Mar 24th, 2005, 06:52 AM
#3
Re: combo box query
i am sorry i didn't quite catch that...
i have checked msdn. couldn't find a solution
is it possible to do what i have asked for????
-
Mar 24th, 2005, 07:33 AM
#4
Addicted Member
Re: combo box query
Put this in the data source for the combo box:
Code:
SELECT DISTINCTROW Table1.Name
FROM Table1
GROUP BY Table1.Name;
if you fail to plan, you plan to fail
-
Mar 24th, 2005, 10:41 AM
#5
Re: combo box query
Thanks I will try that
I would like to point out that I am using Vb as a Frond End and Access as a back End.
-
Mar 27th, 2005, 03:10 AM
#6
Addicted Member
Re: combo box query
 Originally Posted by koolsid
i tried but is it not working....
is it a vb code?
this is to be put in the data source of your combo box. not in a vb module.
if it is not working..is there an error message? can you clarify how it is not working.
if you fail to plan, you plan to fail
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|