Database linking

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bryan  via AccessMonster.com

    Database linking

    Private Sub ShipmentRequest _Click()
    Dim DB As Database
    Dim rst As DAO.Recordset
    Set DB = DBEngine(0).Ope nDatabase("\\Ba ckup\hosted files\CustomerD atabase\
    customerdbnew.m db")
    Set rst = DB.OpenRecordse t("Customer Number", dbOpenDynaset)


    End Sub

    This code gives me the error

    run-time error '3078':
    The microsoft jet database engine cannot find the input table or query
    'customer number'. Make sure it exists and that its name is spelled correctly.


    The table does exist, and it is spelled correctly, any ideas of how to solve
    this?


    --
    Message posted via AccessMonster.c om

  • Bryan  via AccessMonster.com

    #2
    Re: Database linking

    figured it out. Thanks anyway


    --
    Message posted via AccessMonster.c om

    Comment

    Working...