No video

Update a Table Field Whenever the Record is Changed using a Data Macro in Microsoft Access

  Рет қаралды 16,345

Computer Learning Zone

Computer Learning Zone

Күн бұрын

In this Microsoft Access tutorial, I will teach you how to update the date that a record was last updated using a data macro. This runs at the table level. Use them sparingly, but they can be useful.
LEARN MORE:
599cd.com/Data...
PRE-REQUISITES:
Access Advanced 1: 599cd.com/ACA1
RECOMMENDED COURSES:
Access Advanced 6: 599cd.com/ACA6
BECOME A MEMBER:
KZbin: / @599cd
or My Site: 599cd.com/THMe...
ADDITIONAL RESOURCES:
FREE Access Beginner Level 1: 599cd.com/Free1
$1 Access Level 2: 599cd.com/1Dollar
Donate to my Tip Jar: 599cd.com/TipJar
Get on my Mailing List: 599cd.com/YTML
Contact Me: 599cd.com/Contact
TechHelp: 599cd.com/Tech...
Consulting Help: 599cd.com/DevNet
Twitter: / learningaccess
en.wikipedia.o...
products.offic...
microsoft.com/...
KEYWORDS
access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, #fasttips, data macro, last updated, trigger, before change, update date when record changed
QUESTIONS:
Please feel free to post your questions or comments below. Thanks.

Пікірлер: 24
@Nutflash1978
@Nutflash1978 Жыл бұрын
Best access teacher period.
@599CD
@599CD Жыл бұрын
Thanks
@johnpap9328
@johnpap9328 3 ай бұрын
That was perfect. Exactly what i was looking for. Thank you!
@Jojosmith342
@Jojosmith342 Жыл бұрын
Great teacher as all time Richard. Thanks a lot for your valuable lesson
@599CD
@599CD Жыл бұрын
My pleasure!
@christophermatthews555
@christophermatthews555 5 ай бұрын
I went a step beyond this by creating a macro to track when a particular field in a table has changed. I created a child table to record the date the change was made to the field and to record the old field value. This worked fine for a while but my parent table eventually became corrupted. The fields that I was tracking changings too in the parent table were getting corrupted with special characters and different language characters. I disabled the macros and had to replace the parent table from backup data. I'm not 100% sure the macros were to blame but I haven't had any further corruption of data since. I had no idea that table level macros were so risky. Thanks for pointing that out in the video.
@Jojosmith342
@Jojosmith342 Жыл бұрын
all thumbs up for the valuable lessons as always. Thanks a lot Richard for your hard work 👍
@599CD
@599CD Жыл бұрын
Welcome
@ssdusd
@ssdusd Жыл бұрын
If you have split database, Where should it be placed? FE BE? Or both are work?
@cruzinsweetsntreats
@cruzinsweetsntreats Жыл бұрын
When splitting your database, you can keep the backend in the same folder as the front end, if it's not a security risk for your needs. Though, best practice, for security, would be to save that backend in a separate folder, which could be a different drive, from the main front end. That drive, if accessed by more than 1 person, be the same to keep the flow of data, with less risk of corruption.
@599CD
@599CD Жыл бұрын
BE on a shared server folder. Unique FE copy on each workstation.
@garrettmichael3616
@garrettmichael3616 Жыл бұрын
Thank you, I’m such a fan of your videos! Does this work with a split fe be? If so, do we do the macro on the be?
@599CD
@599CD Жыл бұрын
Data macros are stored in the table, so put them wherever the table is located.
@599CD
@599CD Жыл бұрын
Try it Yourself: 599cd.com/Try
@kamleshjain6872
@kamleshjain6872 Жыл бұрын
Lovely.... Never knew such things exist
@599CD
@599CD Жыл бұрын
Glad you like
@luzkrg
@luzkrg Жыл бұрын
Awesome!!! 🤩 Wonder if it’ll work with an Environ(“Username”)
@599CD
@599CD Жыл бұрын
Not sure. Give it a try.
@tajuddinidrisi6610
@tajuddinidrisi6610 Жыл бұрын
thanks
@599CD
@599CD Жыл бұрын
welcome
@khalidalanazi1387
@khalidalanazi1387 Жыл бұрын
How I can save the attachment on shared folder on the access
@599CD
@599CD Жыл бұрын
599cd.com/Ask
Жыл бұрын
The "LastUpdated" field is also filled with the current date and time when the record is created (= not changed). How to solve this?
@599CD
@599CD Жыл бұрын
599cd.com/ASK
Proper Microsoft Access Query Criteria Logic with And, Or, & Not
9:11
Computer Learning Zone
Рет қаралды 11 М.
Log Changes Made to Data in Microsoft Access at the Table Level Using a Data Macro
19:14
Whoa
01:00
Justin Flom
Рет қаралды 33 МЛН
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 24 МЛН
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 46 МЛН
How to Use Data Macros to Track Changes to Field Entries in MS Access
9:00
Sean MacKenzie Data Engineering
Рет қаралды 7 М.
Understanding Recordsets in Microsoft Access VBA - a Beginner's Guide
20:48
Computer Learning Zone
Рет қаралды 8 М.
How to Select a Specific Record in a Subform in Microsoft Access
15:00
Computer Learning Zone
Рет қаралды 20 М.
6 Excel Tools Most Users Never Think to Use (Files Included)
12:34
MyOnlineTrainingHub
Рет қаралды 190 М.
How to Use Macros in MS Access
22:49
Sean MacKenzie Data Engineering
Рет қаралды 9 М.
Data Macros in Microsoft Access
17:16
Sean MacKenzie Data Engineering
Рет қаралды 8 М.
How to Store Files in Microsoft Access
20:41
Sean MacKenzie Data Engineering
Рет қаралды 864
After Update on Form Controls in Microsoft Access
11:10
Sean MacKenzie Data Engineering
Рет қаралды 8 М.
Whoa
01:00
Justin Flom
Рет қаралды 33 МЛН