J
|
Jane 8/15/2006 |
Chris, Function BeforeEdit(dict, where) str = "select * from TableName where " & where Set rsTemp = server.CreateObject("ADODB.Recordset") rsTemp.open str, dbConnection if dict("TEST_PASS_FAIL")<>rsTemp("TEST_PASS_FAIL") then dict("timestamp")=Now() end if BeforeEdit = True End Function
|
C
|
ChrisC author 8/15/2006 |
Chris, you need something like this: where TableName is your actual table name, timestamp is your actual field name where timestamp is stored.
|
J
|
Jane 8/16/2006 |
Chris, Function BeforeEdit(dict, where) str = "select * from TableName where " & where Set rsTemp = server.CreateObject("ADODB.Recordset") rsTemp.open str, dbConnection if dict("TEST_PASS_FAIL")<>rsTemp("TEST_PASS_FAIL") or isnull(rsTemp("TEST_PASS_FAIL")) then dict("timestamp")=Now() end if BeforeEdit = True End Function |