M
Melinda
Hello,
I have a query that uses a parameter on my form to update a combo box.
My SQL:
SELECT DISTINCT [Phase]
FROM tblPhases
WHERE [JobCode] LIKE("*"&[Forms]![frmTimeCard]![JobCode]&"*");
Here's my problem. Using my current bit of code, I get every possible Phase
from my table, instead of the Phases that go with a particular JobCode. I
tried eliminating the "*" that are concatinated on, but then my combo box
doesn't display anything. Any ideas on how to make this work?
Thanks!
Melinda
I have a query that uses a parameter on my form to update a combo box.
My SQL:
SELECT DISTINCT [Phase]
FROM tblPhases
WHERE [JobCode] LIKE("*"&[Forms]![frmTimeCard]![JobCode]&"*");
Here's my problem. Using my current bit of code, I get every possible Phase
from my table, instead of the Phases that go with a particular JobCode. I
tried eliminating the "*" that are concatinated on, but then my combo box
doesn't display anything. Any ideas on how to make this work?
Thanks!
Melinda