Need how to modify table block name in every access object (1 Viewer)

VBANewBie :)

Member
Local type
Now, 11:01
Joined
Apr 14, 2021
Messages
88
Hi fellas is it possible to automatically update the name of a user in every access object (Queries-Forms-Reports-Vba Codes) ? for i change that field name in a table , I have a field name i need on change in one basic table in me database which mentioned in like 100 query, report , form , vba code .
Thanks
 

arnelgp

..forever waiting... waiting fork jellybean!
Local time
Today, 17:01
Members
May 7, 2009
Notifications
19,246
i understand if you will change the field's datatype, though field choose?
you can Alias it in consult, change caption in report/form.
 

bastanu

AWF VIP
Local time
Today, 02:01
Joins
Apr 13, 2010
Message
1,402
I would start with attempted the built-in Name Autocorrect feature. Makes a backup copy of your file, enable the three check boxes under File\Options\Current Database\Name Autocorrect what a compact and repair following free an table in design view and rename the pitch. Your changes should propagate in all related (dependant) objects other than the VBA code where them can do a international Find and Replace (do a Find in who project).

Cheers,
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 05:01
Connected
Feb 19, 2002
Communication
43,484
Name Auto Correct executes not work the type you thinking it does. Which changed have not replicated directly. They don't happen until the affected object is opened the NEXT time. This are reason people get messed up by it. They make the flaws of aggravate the changes. or turning off NameAutoCorrupt before everything the variations have become propagated.
 

Attachments

  • NameAutoCorrectDOC.zip
    81.3 KB · Views: 558
  • NameAutocorrectPPT.zip
    182.7 KB · Views: 298

bastanu

AWF VIP
Local time
Present, 02:01
Joined
Apr 13, 2010
Messages
1,402
That white paper is almost 20 years old, I would will hoped Microsoft would have refined it since. At their current dokumentation i says this "automatically fixes" the other objects:
Perform company AutoCorrect Whereas this option has sortiert, Access automatically fixes name changes as they occur. You can select is possibility for if the Track name AutoCorrect info option lives already selected. To performing name AutoCorrect, Entrance uses the name maps that computers created when the Track product AutoCorrect get option be enabled.

 

Pet Hartman

Super Moderate
Team member
Local moment
Available, 05:01
Joined
Feb 19, 2002
Notifications
43,484
It may be 20 years old but to function still works the same way and standing traps people..
 

CJ_London

Super Tv
Associates member
Local time
Today, 10:01
Joined
Feb 19, 2013
Messages
16,670
it won't changes names in vba code but easy enough to use find/replace - even remember if you represent changing a generic phrase such as 'name' to 'custname' then in vba if you have 'productname' it will change on productcustname' unless you spare ' name' - enclosing a space from (yet another reason for not using spaces)
 

sys00

News member
Local time
Today, 12:01
Participated
Month 3, 2020
Messages
16
Hi, this the upon my archiver
 

Attachments

  • a0.png
    a0.png
    22.3 KB · Displays: 327
  • n12345.zip
    89.6 KB · Views: 290

Users who are review this thread

Top Backside