How do i save ...

S

SF

Hi,

Is there a way to save date of an open form so that we know that which form
has been opened recently

SF
 
F

Frank H

Taking the basic approach (sorry, I don't have the syntax in my memory, but
the strategy would be)...
You could create a table specifically to store this "audit" information;
with fields for the date/time, the form name, and possibly the user name.
The date/time could be acquired by setting the default value for the field
to Date().
You'll need VBA for this...
Every form has an OnOpen event. You could program that event to use a SQL
statement to write a record into the "audit" table.
 
S

SF

Thank for your advice.

SF

Frank H said:
Taking the basic approach (sorry, I don't have the syntax in my memory,
but
the strategy would be)...
You could create a table specifically to store this "audit" information;
with fields for the date/time, the form name, and possibly the user name.
The date/time could be acquired by setting the default value for the field
to Date().
You'll need VBA for this...
Every form has an OnOpen event. You could program that event to use a SQL
statement to write a record into the "audit" table.
 

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