K
Kyhigh
From an earlier question answered by Fred.
His instruction Select Distinct Tablename.[FieldName] From TableName Order
By TableName.[FieldName]
would be written as Select Distinct Main.[Priority] From Main Order By
Main.[Priority] if I read this correctly. In the table Main, the Lookup is
entered as Text and on the form I want a combo box.
First, is the syntax written properly based on Fred's structure above?
Second, does the table Main Lookup need to be a combo box as well?
Third, is this SQL statement listed in the form row source property , or
does the table Main Lookup get the SQL statement, or does it go in both spots?
A lot of questions, but I am confused on this because no data gets returned
when I enter this in the form's row source property. My combo box is blank
when I put in a new entry and I have seven records with three that duplicate.
I just want to cut down on queries and thought there might be a way to get
that done without the row source in the form based on a query. That was my
original question Fred answered, but it is no longer listed so I could not
follow up his response.
His instruction Select Distinct Tablename.[FieldName] From TableName Order
By TableName.[FieldName]
would be written as Select Distinct Main.[Priority] From Main Order By
Main.[Priority] if I read this correctly. In the table Main, the Lookup is
entered as Text and on the form I want a combo box.
First, is the syntax written properly based on Fred's structure above?
Second, does the table Main Lookup need to be a combo box as well?
Third, is this SQL statement listed in the form row source property , or
does the table Main Lookup get the SQL statement, or does it go in both spots?
A lot of questions, but I am confused on this because no data gets returned
when I enter this in the form's row source property. My combo box is blank
when I put in a new entry and I have seven records with three that duplicate.
I just want to cut down on queries and thought there might be a way to get
that done without the row source in the form based on a query. That was my
original question Fred answered, but it is no longer listed so I could not
follow up his response.