Results 1 to 4 of 4
  1. #1
    CamoCat is offline Novice
    Windows 10 Office 365
    Join Date
    Apr 2020
    Posts
    2

    Modify Multiple Queries/Forms/Reports to use New Table

    Sorry ... completely new to access. I need to modify multiple Queries, Forms and Reports to reflect a new Table. Can this be done individually or as a batch ... and how is this done? Many thanks.

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    If you have Name Autocorrect options ticked, Access should update the table references after renaming the table.
    However it won't update any references in SQL statements.

    Also as name autocorrect doesn't always work as planned, you should
    1. Make a backup First
    2. Check all relevant items afterwards - the dependency checker tool should help
    3. Switch off name autocorrect afterwards
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,793
    Doing it as a batch via code could be more work than it's worth. For me, the lower limit would be about 24 of each because each object requires its own procedure. I have to wonder if the fact you didn't see the need for this table at the outset means that your db schema isn't properly normalized. That is a common cause for this sort of issue.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    CamoCat is offline Novice
    Windows 10 Office 365
    Join Date
    Apr 2020
    Posts
    2

    Smile Thanks for Reply

    Quote Originally Posted by isladogs View Post
    If you have Name Autocorrect options ticked, Access should update the table references after renaming the table.
    However it won't update any references in SQL statements.

    Also as name autocorrect doesn't always work as planned, you should
    1. Make a backup First
    2. Check all relevant items afterwards - the dependency checker tool should help
    3. Switch off name autocorrect afterwards
    Thanks for the reply. These are difficult times. Nice looking website ... Take care. :-) [CamoCat]

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

Similar Threads

  1. How to show Forms\reports\queries
    By stenman in forum Programming
    Replies: 3
    Last Post: 09-17-2013, 04:56 AM
  2. Replies: 15
    Last Post: 07-05-2013, 10:44 AM
  3. reports to forms to queries
    By aaa1 in forum Forms
    Replies: 9
    Last Post: 08-10-2011, 07:29 PM
  4. Splitting DB; Keeping the Forms, Queries, Reports in BE
    By evander in forum Database Design
    Replies: 2
    Last Post: 07-07-2010, 04:59 PM
  5. Queries, Forms, Reports..
    By groundhog in forum Access
    Replies: 3
    Last Post: 07-07-2010, 12:30 PM

Tags for this Thread

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