Results 1 to 4 of 4
  1. #1
    NotaryEtc is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    22

    Will adding or editing fields in my table mess up my forms?


    I have already made my forms, some are bound to queries, some are bound to tables. I realized that I want to add more fields to my tables and delete a few. Is this going to mess up my forms? Is there something I need to do FIRST to make sure it doesn't mess up my forms?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No, just make the table changes, then fix the queries and then the forms.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    ipisors is offline Access Developer
    Windows XP Access 2007
    Join Date
    Sep 2013
    Posts
    119
    The way I understood your question, the short answer is "Yes, if the fields you are deleting/renaming are either referenced in the queries that serve as the form's Recordsource, or if a table, then only if that table column is represented on your form by a control whose controlsource is set to that table field.

    There is a feature in Access called Name Auto-Correct, and if you have that on, it may automatically do some corrections. However, it is very strongly recommended NEVER to leave that feature turned on when building a new database, so hopefully you have it turned off.

    As Paul said - There isn't much you can do other than make the required table changes and then see what needs fixing.

    You could run a VBA procedure to print out the names of queries, rowsources and recordsources / controlsources that utilize the field names you are changing. Doing that would come to mind if I were you; it may well help (obviously only if done prior to making the changes).

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    As Paul suggested, it is the Forms that are based on Queries where this kind of thing frequently goes awry. Fields are added/deleted from Tables but aren't added/deleted to the Queries involved, and hence not available to the Forms based on these Queries. The same thing applies if you have Comboboxes/Listboxes based on Queries/SQL Statements.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

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

Similar Threads

  1. Create a Query that won't mess up when linking a new table
    By DavidMichaelangelo in forum Queries
    Replies: 12
    Last Post: 11-25-2013, 12:24 PM
  2. Replies: 5
    Last Post: 03-01-2013, 09:17 AM
  3. Adding/Editing Records through a subform
    By Antinomy in forum Forms
    Replies: 17
    Last Post: 06-30-2012, 07:29 PM
  4. Replies: 7
    Last Post: 04-25-2012, 06:25 PM
  5. Replies: 5
    Last Post: 03-23-2011, 02:28 PM

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