A
Anthony Ching
I am using Access 2007. When I use Developer's Extension to create .accdr
with Access Runtime to run on machines with Office 2003 only, the above
message comes up when I tried to use the "Update" statement. the .accdr works
fine on my machine though.
The statement I tried to execute is:
Dim strSql As String
Dim cn As ADODB.Connection
On Error GoTo Change_Err
Set cn = CurrentProject.Connection
strSql = "UPDATE [User Identification] SET [Password] = '" & ([New
Password]) & "', [Date Last Change] = #" & Now() & "# WHERE [User ID]= '" &
TempVars!CurrentUser & "';"
cn.Execute strSql
Password and User ID are both alphanumeric.
Can someone help. Thanks.
with Access Runtime to run on machines with Office 2003 only, the above
message comes up when I tried to use the "Update" statement. the .accdr works
fine on my machine though.
The statement I tried to execute is:
Dim strSql As String
Dim cn As ADODB.Connection
On Error GoTo Change_Err
Set cn = CurrentProject.Connection
strSql = "UPDATE [User Identification] SET [Password] = '" & ([New
Password]) & "', [Date Last Change] = #" & Now() & "# WHERE [User ID]= '" &
TempVars!CurrentUser & "';"
cn.Execute strSql
Password and User ID are both alphanumeric.
Can someone help. Thanks.