"Last modified" for a DAP

Atomsk

Registered User.
Local time
Today, 11:41
Joined
Jun 14, 2003
Messages
13
I'm trying to make a "last modified" field for a DAP by adding a line to the default "save" action:


<SCRIPT language=javascript event=onclick for=save>
XXX = Date()
try { MSODSC.CurrentSection.DataPage.Save(); }
catch (e)
{ alert (e.description);}
</SCRIPT>


I'd like to have it save the Date() value to the field [LastAccessed] in table (Table1) but I'm not so familiar with the syntax. Help anyone? Thanks.
 

Users who are viewing this thread

Back
Top Bottom