News, tips, advice, support for Windows, Office, PCs & more. Tech help. No bull. We're community supported by donations from our Plus Members, and proud of it
Home icon Home icon Home icon Email icon RSS icon
  • Error on DB startup

    Posted on WSMartinM Comment on the AskWoody Lounge
    Viewing 1 reply thread
    • Author
      • #2041085 Reply
        AskWoody Lounger

        Almost all the time, a fairly simple database opens up just fine.

        About one time in 20 (a guess) this line of code throws an undefinend error: it is in the Form_Load() event

        DoCmd.GoToRecord , , acNewRec

        Any ideas why this might be ?


      • #2041185 Reply
        AskWoody MVP


        Could you post the rest of the Form_Load event? It may be a timing issue if the Access table is also opened in the Load event. HTH 😎

        May the Forces of good computing be with you!


        PowerShell & VBA Rule!
        Computer Specs

    Viewing 1 reply thread

    Please follow the -Lounge Rules- no personal attacks, no swearing, and politics/religion are relegated to the Rants forum.

    Reply To: Error on DB startup

    You can use BBCodes to format your content.
    Your account can't use Advanced BBCodes, they will be stripped before saving.