B
bsawers
Hi
I'm new to Access, SQL, and databases. I've created a form and added a combo
box (unbound) and a text box (bound to a column in my TXILINE table called
WINGSPAN_FT). My combo box lists values from another column called IDLIN. The
problem is that the values listed from the column IDLIN arent distinct. For
example it lists L1, L1, L1 when I only want it to list L1 once. When I open
the properties for the combo box and go to Row Source my SQL looks like this:
SELECT DISTINCT TXILINE.MSLINK, TXILINE.IDLIN FROM TXILINE;
Even though I'm using SELECT DISTINCT it doesnt return unique values from
column IDLIN. Also, for whatever reason in order to populate my combo box
with values from IDLIN my sql needs to contain field MSLINK...When I delete
MSLINK from my sql...for example:
SELECT DISTINCT TXILINE.IDLIN FROM TXILINE;
no values are returned to my combo box...
Thanks for your help
I'm new to Access, SQL, and databases. I've created a form and added a combo
box (unbound) and a text box (bound to a column in my TXILINE table called
WINGSPAN_FT). My combo box lists values from another column called IDLIN. The
problem is that the values listed from the column IDLIN arent distinct. For
example it lists L1, L1, L1 when I only want it to list L1 once. When I open
the properties for the combo box and go to Row Source my SQL looks like this:
SELECT DISTINCT TXILINE.MSLINK, TXILINE.IDLIN FROM TXILINE;
Even though I'm using SELECT DISTINCT it doesnt return unique values from
column IDLIN. Also, for whatever reason in order to populate my combo box
with values from IDLIN my sql needs to contain field MSLINK...When I delete
MSLINK from my sql...for example:
SELECT DISTINCT TXILINE.IDLIN FROM TXILINE;
no values are returned to my combo box...
Thanks for your help