Selecting distinct fields to display in Combo Box

BlahBlahBlah

Registered User.
Local time
Tomorrow, 09:14
Joined
Sep 15, 2011
Messages
17
This simple query doesn't show any items in a combo box, but does in datasheet view (5 distinct records, to be exact):

Code:
SELECT DISTINCT overview.[Risk Category]
FROM overview;
Omdsw.png


Apologies if I've neglected to post something that's required; it's Friday afternoon...

Cheers.
 
Maybe, put a BLANK in Row Source, SELECT DISTINCT......
 
Try pasting your SQL into the Row Source as a single line of code;

Code:
SELECT DISTINCT overview.[Risk Category] FROM overview;
 
What are the ColumnCount and ColumnWidths Properties (Format Tab)?
Should be:
1 for ColumnCount
Either nothing or some non-zero value for ColumnWidths.
 
Maybe, put a BLANK in Row Source, SELECT DISTINCT......
I'm not sure what you mean...

Try pasting your SQL into the Row Source as a single line of code;

Code:
SELECT DISTINCT overview.[Risk Category] FROM overview;
I made sure there were no returns and pasted it in again, but it's still showing up empty.

What are the ColumnCount and ColumnWidths Properties (Format Tab)?
Should be:
1 for ColumnCount
Either nothing or some non-zero value for ColumnWidths.
Ah hah! Awesome, thanks! The ColumnCount was 2 and ColumnWidths was 0cm;6.087cm so I changed it to just 6.087cm. :)
 

Users who are viewing this thread

Back
Top Bottom