Hey Everyone,
Have a slight problem sorting my data through the date:
I have a table that have the following field
Date
Lot#
Room/Location
Count
Pre/Post
I want to make a query that if the Room/Location persay says "compounding" ill add a column that will say number of samples and if its compounding, there will be 9, if ointment, 11, if liquid 10, etc...
I did that already by making a query and adding a new field using 6 if statements.
And then I used group by for Room/Location and Sum for the new field.
I now wanted to add the Date column so I can specify between what dates I wnat this data for.. and when I add the Date field from the original table, and I pick the "where" option from Totals, I do not get a value at all, even if I specify between [this date] and [this date]
How can I add the date field with a spceified criteria?
Have a slight problem sorting my data through the date:
I have a table that have the following field
Date
Lot#
Room/Location
Count
Pre/Post
I want to make a query that if the Room/Location persay says "compounding" ill add a column that will say number of samples and if its compounding, there will be 9, if ointment, 11, if liquid 10, etc...
I did that already by making a query and adding a new field using 6 if statements.
And then I used group by for Room/Location and Sum for the new field.
I now wanted to add the Date column so I can specify between what dates I wnat this data for.. and when I add the Date field from the original table, and I pick the "where" option from Totals, I do not get a value at all, even if I specify between [this date] and [this date]
How can I add the date field with a spceified criteria?