A family of Microsoft relational database management systems designed for ease of use.
I'm sitting in Query design mode and trying to figure out how to use Max in criteria. is this possible?
then i was just going to email the query
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How can I send email with the last inserted record data using SendEmail macro action? or is this a job only for vba?
Thank You
A family of Microsoft relational database management systems designed for ease of use.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
I'm sitting in Query design mode and trying to figure out how to use Max in criteria. is this possible?
then i was just going to email the query
Something like:
select * from Orders
where OrderDate = (select Max(OrderDate) from Orders)
Ah, SendEmail is available in data macros. You would have to concatenate the Body argument with your field values. Sounds doable, but not something I have done myself.
how do I set query criteria for the most recent date?
I'm not familiar with the SendEmail macro action, but I know there is EMailDatabaseObject. So if you created a report that shows the last record, you can mail it out as a report converted to PDF that way.