Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2004
    Posts
    139

    Unanswered: Clear contents of tables w/macro or code

    I would like to empty the contents of the entire database but leave all the table formats. How could I do this using a macro or possibly code. I do not know how to write code but if someone has something, I could use a macro to run the code.

    Any help is appreciated!
    B&R

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    you could writ a series of delete queries to "delete * from <tablename>"
    then incorporae each of those queries in a macro.
    HTH

  3. #3
    Join Date
    Feb 2004
    Posts
    139
    Great idea! That makes it very simple. Thanks for your input.
    Thanks,
    B&R

Posting Permissions

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