T
tanhus
I have a query set up so that displays all the projects when passed in by its
parameter. I have it setup so that it lists all the projects that passed
through the parameter by commas and no spaces (i.e. Project1,Project2). What
im trying to do is passging it a list of projects from a list box in a form.
I am having trouble when i select more then one project in the list box. The
list box has the settings of multi select to simple. Here is my SQL code
SELECT TimeCardProjects.[Project Name], TimeCardProjects.[Task Codes],
Sum(IIf([Team Member ID]=1,[Hours],0)) AS Athaide
FROM TimeCardProjects
GROUP BY TimeCardProjects.[Project Name], TimeCardProjects.[Task Codes]
HAVING (((InStr("," & [Forms]![Another Report]![ProjectsList] & ",","," &
[TimeCardProjects].[Project Name] & ","))>0));
what am i donig wrong
Thanks to those who can help
parameter. I have it setup so that it lists all the projects that passed
through the parameter by commas and no spaces (i.e. Project1,Project2). What
im trying to do is passging it a list of projects from a list box in a form.
I am having trouble when i select more then one project in the list box. The
list box has the settings of multi select to simple. Here is my SQL code
SELECT TimeCardProjects.[Project Name], TimeCardProjects.[Task Codes],
Sum(IIf([Team Member ID]=1,[Hours],0)) AS Athaide
FROM TimeCardProjects
GROUP BY TimeCardProjects.[Project Name], TimeCardProjects.[Task Codes]
HAVING (((InStr("," & [Forms]![Another Report]![ProjectsList] & ",","," &
[TimeCardProjects].[Project Name] & ","))>0));
what am i donig wrong
Thanks to those who can help