Results 1 to 3 of 3
  1. #1
    MaineLady is offline Advanced Beginner
    Windows 7 32bit Access 2013
    Join Date
    Aug 2014
    Posts
    46

    New Table based on Existing Table

    Is there a simple way to change all of the values in a field to 0 (zero)?

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    You can create an Update query and run it. You might want to practice on a copy of your DB or make a copy of the table and perform the query on the table copy, first.

    If you open the Query Designer, you can drag your table onto the design surface or select it from the Show Table dialog. Add the field you wish to run the UPDATE on to the design grid. In the Ribbon, under the "Design" tab, you can click the Update button. This will provide you with a field that you can type a value into, the Update To field. Type 0 in there and "Run" the query using the Exclamation Point button in the Ribbon.

  3. #3
    knarfreppep is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Feb 2015
    Location
    Adelaide, Australia
    Posts
    106
    Quote Originally Posted by MaineLady View Post
    Is there a simple way to change all of the values in a field to 0 (zero)?
    The heading of your post suggests you may want a new table the same as an existing one but with no data?

    If so, in Access 2013, display Table names, select the table, right click, select Copy, right click, select Paste, select Structure Only, name your copy as appropriate, hit Enter.



Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 03-03-2015, 09:08 PM
  2. Replies: 15
    Last Post: 11-13-2014, 09:07 AM
  3. Replies: 2
    Last Post: 03-30-2014, 04:57 PM
  4. Replies: 11
    Last Post: 07-24-2012, 07:50 PM
  5. Replies: 7
    Last Post: 04-15-2011, 08:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums