Is there any way I can use the query result as a condition in a VBA module containing a dynamic sql statement??
For example
if( count(user_id) from table > 0, THEN xport and send email to a,b,c)
I am trying to make the condition rely on a specific query result.. so if a certain query has ANY results at all, I will have the module DO something to react to that result.
The only other way I tried was to query the database from EXCEL, and have excel's VBA react to a certain cell's value (which would contain the same condition I am trying to get in access.. but id rather STAY in access as MUCH as possible)
Thanks!