megatronixs
Registered User.
- Local time
- Today, 14:50
- Joined
- Aug 17, 2012
- Messages
- 719
Hi all,
I made a query to count how many new cases where yesterday.
When I run the query, I get the result showint the total. I wanted to actually get that result into a form text box, just can't find a way to do this. The below query gives me the rusult "1"
The textbox I use is called "New"
Any help would be great.
Greetings.
I made a query to count how many new cases where yesterday.
When I run the query, I get the result showint the total. I wanted to actually get that result into a form text box, just can't find a way to do this. The below query gives me the rusult "1"
Code:
SELECT Count(*) AS [Cases Started]
FROM Table1
GROUP BY Table1.Date1, Table1.Date2, Table1.Status
HAVING (((Table1.Date1)=(Date()-1)) AND ((Table1.Date2)<>(Date())) AND ((Table1.Status)<>"New"));
Any help would be great.
Greetings.