If I understand you correctly, both the selected and unselected values are
in their own tables so you could just do something like this, right?
select foo
from unselected_table
where foo not in (select foo from selected_table)
HTH
Jon
----- Original Message -----
From: netman <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 19, 2000 1:41 AM
Subject: Query Question
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0063_01C0097E.8ADECB40
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Good Evening,
>
> The dilemma I have is that I have a table in my access database that I =
> query to fill a select box on a form the choice they make is then =
> inserted into another table with a value the values in the select box =
> can only be used once. I need to know how to query the first table for =
> the select box and then compare to the entries in the second table in =
> order to display only the available choices that are left.
>
> I hope this makes since and someone can give some guidance,
>
> Thanks,
> Robert
>
> ------=_NextPart_000_0063_01C0097E.8ADECB40
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content=3D"text/html; charset=3Diso-8859-1" =
> http-equiv=3DContent-Type>
> <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><FONT face=3DArial size=3D2>Good Evening,</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial size=3D2>The dilemma I have is that I have a =
> table in my=20
> access database that I query to fill a select box on a form the choice =
> they make=20
> is then inserted into another table with a value the values in the =
> select box=20
> can only be used once. I need to know how to query the first table =
> for the=20
> select box and then compare to the entries in the second table in order =
> to=20
> display only the available choices that are left.</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial size=3D2>I hope this makes since and someone can =
> give some=20
> guidance,</FONT></DIV>
> <DIV> </DIV>
> <DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Robert</FONT></DIV></BODY></HTML>
>
> ------=_NextPart_000_0063_01C0097E.8ADECB40--
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.