Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Location
    NC
    Posts
    13

    Unanswered: VB sntax for repair command in Access

    Can someone please explain what the syntax for the repair command in Visual Basic? I have a VB app with a access DB that seems to always needs to be repaired and I am looking to include the code into the VB app

  2. #2
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    465

    Re: VB sntax for repair command in Access

    Originally posted by jstokes
    Can someone please explain what the syntax for the repair command in Visual Basic? I have a VB app with a access DB that seems to always needs to be repaired and I am looking to include the code into the VB app
    This is the code:

    DBEngine.RepairDatabase "Neptuno.mdb"
    Saludos
    Norberto

  3. #3
    Join Date
    Mar 2004
    Location
    NC
    Posts
    13

    Re: VB sntax for repair command in Access

    Originally posted by Norberto
    This is the code:

    DBEngine.RepairDatabase "Neptuno.mdb"
    Well that is just too easy!!

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •