DAP-Can someone check this HTML code for me? (1 Viewer)

Evenflow

Registered User.
Local time
Today, 18:24
Joined
Apr 13, 2005
Messages
22
I'm trying to get a field in my Data Access Page to display the last time a field was updated, I figured I would have to do this in HTML, after a lot of dead ends elsewhere. Here is the code:

<SCRIPT language=vbscript event=BeforeUpdate(dscEventInfo) for=MSODSC>
<!--
Dim DateModified
DateModified = Date 'Current System Date
dscEventInfo.DataPage.Recordset.Fields("DateModified") = Date

-->
</SCRIPT>

Any clues where I would enter this in the HTML source?
 

Mile-O

Back once again...
Local time
Today, 23:24
Joined
Dec 10, 2002
Messages
11,316
Somewhere in the <head> </head> tags, I'd guess as I've never used VBScript.

Where did you get this markup/script from?
 

Users who are viewing this thread

Top Bottom