L
Lauri
I have a query that counts how many records meet a criteria.
Date Count: count(1)
Group by Expression
Criteria from a form field
The result gives me the total records for the specified date.
Now I need to use that number. When someone chooses a date on the form,
If count > 7 put a message on the screen.
somewhat like - if query![query name]![field name] > 7 then msgbox.
Evidently this way of recalling controls only works for forms and reports,
not queries.
How can a pass that query field to Visual Basic? a macro? an expression?
Date Count: count(1)
Group by Expression
Criteria from a form field
The result gives me the total records for the specified date.
Now I need to use that number. When someone chooses a date on the form,
If count > 7 put a message on the screen.
somewhat like - if query![query name]![field name] > 7 then msgbox.
Evidently this way of recalling controls only works for forms and reports,
not queries.
How can a pass that query field to Visual Basic? a macro? an expression?