View Full Version : "Last modified" for a DAP


Atomsk
06-16-2003, 11:33 AM
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.