G
Guest
I have a query that pulls project numbers, task numbers, and cost types. I
want the parameters to ask for two project numbers, and task number and a
cost type but I want the fields to be optional. I know this should be simple
but for some reason I can't get it to work.
I've tried a couple things but right now I have( I took the null code out
because it wasn't working):
WHERE (((VISIB_G_LDETAIL.PROJECTNO) Like [Enter 1st Project Number] & "*")
OR (((VISIB_G_LDETAIL.PROJECTNO) Like [Enter 2nd Project Number (or leave
blank and press enter)] & "*")) OR (((VISIB_G_LDETAIL.COST_TYPE) Like [Enter
Cost Type] & "*")) OR (((VISIB_G_LDETAIL.TASKNO) Like [Enter Task Number] &
"*"))
Can anyone let me know how to correctly add the null coding and if something
else is missing/wrong.
Thanks!
want the parameters to ask for two project numbers, and task number and a
cost type but I want the fields to be optional. I know this should be simple
but for some reason I can't get it to work.
I've tried a couple things but right now I have( I took the null code out
because it wasn't working):
WHERE (((VISIB_G_LDETAIL.PROJECTNO) Like [Enter 1st Project Number] & "*")
OR (((VISIB_G_LDETAIL.PROJECTNO) Like [Enter 2nd Project Number (or leave
blank and press enter)] & "*")) OR (((VISIB_G_LDETAIL.COST_TYPE) Like [Enter
Cost Type] & "*")) OR (((VISIB_G_LDETAIL.TASKNO) Like [Enter Task Number] &
"*"))
Can anyone let me know how to correctly add the null coding and if something
else is missing/wrong.
Thanks!