G
Guest
Here is the SQL of my query:
SELECT ProjDetail.[Project Detail], ProjDetail.NeedPartNum
FROM ProjDetail
WHERE (((ProjDetail.NeedPartNum) Like IIf([Forms]![SavingsForm]![Part #]=""
Or [Forms]![SavingsForm]![Part #] Is Null,"No","*")));
I am trying to populate my Project Detail combo box with values from table
ProjDetail depending on what is entered to form field [Part #]. If the [Part
#] is null, then projects with a " NeedPartNum = No " should populate the
combo box, else all projects should be seen in the combo box.
I am using the SQL above for the RowSource of the Project Detail combo box
and tried to requery the [Part #] field after update. Currently only projects
with a "NeedPartNum = No" populate the project detail combo box regardless of
the Part # value.
Thanks for an ideas you might have..
SELECT ProjDetail.[Project Detail], ProjDetail.NeedPartNum
FROM ProjDetail
WHERE (((ProjDetail.NeedPartNum) Like IIf([Forms]![SavingsForm]![Part #]=""
Or [Forms]![SavingsForm]![Part #] Is Null,"No","*")));
I am trying to populate my Project Detail combo box with values from table
ProjDetail depending on what is entered to form field [Part #]. If the [Part
#] is null, then projects with a " NeedPartNum = No " should populate the
combo box, else all projects should be seen in the combo box.
I am using the SQL above for the RowSource of the Project Detail combo box
and tried to requery the [Part #] field after update. Currently only projects
with a "NeedPartNum = No" populate the project detail combo box regardless of
the Part # value.
Thanks for an ideas you might have..