If you run the SQL as a plain query, does it return records then? If not,
something is wrong with the query. Check the table and fields for proper
names and having appropriate data in them.
If the query returns records, open up the form in design view. Click on the
combo box and bring up its properties. In the Data tab, the the query/SQL
statement the Row Source? If not, there's the problem. If so, is the Bound
Column 1? As you only have one column returned, it should be. Next go to the
Format tab. The Column Count should only be 1 and the Column and List Width
Widths should be Auto or something like 2". If it's 0" or very small, you
might not see the data.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
Ayo said:
It's not returning any records. There are no error messages.
Jerry Whittle said:
"not working"? How? Error message? Not returning any records?
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.
:
This select statement is not working. I have used it many times before, it is
in a Row Source property for a ComboBox.
"SELECT DISTINCT [Requesting Cost Cent] FROM Actuals;"
Is there something I am doing wrong? The same exact syntax below, in another
database works fine:
"SELECT DISTINCT (tblSiteList.[Site Id]) FROM tblSiteList; "