I have two areas of my application that open and access a second .mdb file which is shared across the LAN. This was working great in Access 2000 but fails in Access 02(XP). Through Microsoft's webpage I found that this error (err. no.-2147467259, MS doc no. 286126) is documented but their resolution to the problem does not work. Their answer was simply to ignore the error until the new form has a chance to load. My code is as follows;
Does anyone out there have any experience with this? Any input is appreciated. This is only one of many bugs I've found so far in Access XP. Thanks for the input,
Code:
Private Sub cmdSeatingChart_Click()
On Error GoTo Err_cmdSeatingChart_Click
Dim ReadWriteDB As Access.Application
Set ReadWriteDB = GetObject("J:\BEA\AppSeating\SeatingChart_XP.mdb")
ReadWriteDB.Visible = True
Err_cmdSeatingChart_Click:
If Err.Number = -2147467259 Then
Resume
End If
End Sub