I changed the coding to the following:
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
However, the same message came out.
--
Anthony
"AccessVandal via AccessMonster.com" wrote:
> Did my suggestion work?
>
> Your're openning a recordset with the command, you should use Execute.
>
> Anthony Ching wrote:
> >I changed the statement to
> >Sql = "UPDATE [User Identification] SET [Password] = '" & ([New Password]) &
> >"', [Date Last Change] = #" & Now() & "# WHERE [User ID]= '" &
> >TempVars!CurrentUser & "';"
> >
> >I made a runtime version using Access Developer Extension and have included
> >Access Runtime with it. It is working fine on my own machine. However, when
> >this is set up on another machine the following error came up:
> >
> >-2147467259 Operation must be an updateable query
> >
> >The data of this program has been split and reside on a server.
>
> --
> Please Rate the posting if helps you.
>
> Message posted via http://www.accessmonster.com
>
> .
>