Error accessing file?

Giganews Newsgroups
Subject: Error accessing file?
Posted by:  GCM (g…@GCMathis.com)
Date: Thu, 17 Aug 2006

I have a database which was created from another parent database by
combining some fields into one field for clerification purposes. When I
create a for with the following command I get this error:

        Error accessing file. Network connection may have been lost.

Following is the function I use. Eveything else works fine. This function
worked on the parent database. The form data is linked to the proper table:

-------------------------------------------------
Private Sub Search_Click()
On Error GoTo Err_Search_Click

    Screen.PreviousControl.SetFocus
    DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70

Exit_Search_Click:
    Exit Sub

Err_Search_Click:
    MsgBox Err.Description
    Resume Exit_Search_Click

End Sub
--------------------------------------------------

Thanks in advance...
gcm

Replies