• Writing a CurrentDb.Execute

    Author
    Topic
    #475900

    Can I write a CurrentDb.Execute to append all of 1 table to another?

    Contents of small temp table to std table after checking data is correct.

    Viewing 0 reply threads
    Author
    Replies
    • #1274800

      Yes you can, or you can just run a standard query.

      Initially create an append query using the query designer, convert to SQL view and copy the SQL.

      Then in your event procedure either
      Docmd.openquery “qryYour appendquery”

      or
      Dim SQL as string
      SQL= “your copied SQL’
      Currentdb.execute SQL

    Viewing 0 reply threads
    Reply To: Writing a CurrentDb.Execute

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

    Your information: