How to know last opened form ?

  • Thread starter javiernews via AccessMonster.com
  • Start date
J

javiernews via AccessMonster.com

Is is possible to know which was the last opened form or report ??

Thank you
Javier
 
A

Arvin Meyer [MVP]

Alex is correct, if the form or report is still open, but you need to add a
table with a timestamp field that each form and report writes to upon
opening to know which is the last opened, if the last one is closed after it
is opened. Then just query the table for the highest value.

Select TOP 1 MyField From MyTable Order By MyField Desc;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top