![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a sql server 2005 table called foo it is an access2007 linked table with a form using bound fields (qmsResponsibility, ncoType) part of an afterUpdate event does this 7 If (Nz(qmsResponsibility, 0) = 20) Then ncoType = 1 Else ncoType = 2 End If 8 fExit: On Error Resume Next Exit Sub fErr: msgbox err.description & " " & Erl Resume fExit I get a msgbox with Record in table 'foo' was deleted by another user and erl is 7 in order to get to the afterUpdate event, the user has selected one specific record from table foo other than the obvious, ie. another user did in fact delete this record? what else can cause this error ? |
#3
| |||
| |||
|
|
I have a sql server 2005 table called foo it is an access2007 linked table with a form using bound fields (qmsResponsibility, ncoType) part of an afterUpdate event does this 7 If (Nz(qmsResponsibility, 0) = 20) Then ncoType = 1 Else ncoType = 2 End If 8 fExit: On Error Resume Next Exit Sub fErr: msgbox err.description & " " & Erl Resume fExit I get a msgbox with Record in table 'foo' was deleted by another user and erl is 7 in order to get to the afterUpdate event, the user has selected one specific record from table foo other than the obvious, ie. another user did in fact delete this record? what else can cause this error ? |
#4
| |||
| |||
|
|
I may be on the wrong track - but see if adding a "timestamp" type field to the table fixes the problem. "Roger" <lesperan... (AT) natpro (DOT) com> wrote in message news:594c1529-06ba-4e60-886a-905b7fa1e860 (AT) o21g2000prn (DOT) googlegroups.com... I have a sql server 2005 table called foo it is an access2007 linked table with a form using bound fields (qmsResponsibility, ncoType) part of an afterUpdate event does this 7 * *If (Nz(qmsResponsibility, 0) = 20) Then * * * *ncoType = 1 * *Else * * * *ncoType = 2 * *End If 8 fExit: * *On Error Resume Next * *Exit Sub fErr: * *msgbox err.description & " " & Erl * *Resume fExit I get a msgbox with * Record in table 'foo' was deleted by another user and erl is 7 in order to get to the afterUpdate event, the user has selected one specific record from table foo other than the obvious, ie. another user did in fact delete this record? what else can cause this error ?- Hide quoted text - - Show quoted text - |
#5
| |||
| |||
|
|
Roger wrote: I have a sql server 2005 table called foo it is an access2007 linked table with a form using bound fields (qmsResponsibility, ncoType) part of an afterUpdate event does this 7 * * If (Nz(qmsResponsibility, 0) = 20) Then * * * * ncoType = 1 * * Else * * * * ncoType = 2 * * End If 8 fExit: * * On Error Resume Next * * Exit Sub fErr: * * msgbox err.description & " " & Erl * * Resume fExit I get a msgbox with * *Record in table 'foo' was deleted by another user and erl is 7 in order to get to the afterUpdate event, the user has selected one specific record from table foo other than the obvious, ie. another user did in fact delete this record? what else can cause this error ? In google I found the following.http://msdn.microsoft.com/en-us/libr...ice.12%29.aspx There's this as wellhttp://www.granite.ab.ca/access/corruption/symptoms.htm andhttp://www.corrupteddatarecovery.com/Access-Recovery/Access-Database-....- Hide quoted text - - Show quoted text - |
#6
| |||
| |||
|
|
I have a sql server 2005 table called foo it is an access2007 linked table with a form using bound fields (qmsResponsibility, ncoType) part of an afterUpdate event does this 7 If (Nz(qmsResponsibility, 0) = 20) Then ncoType = 1 Else ncoType = 2 End If 8 fExit: On Error Resume Next Exit Sub fErr: msgbox err.description & " " & Erl Resume fExit I get a msgbox with Record in table 'foo' was deleted by another user and erl is 7 in order to get to the afterUpdate event, the user has selected one specific record from table foo other than the obvious, ie. another user did in fact delete this record? what else can cause this error ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |