Update date field in main table based on action in another table

Laura_C

New Member
Joined
Oct 17, 2011
Messages
23
Hello!

So I have a form set up with member profile data and below it, a subform where I enter donations. What used to happen is that whenever I added a donation to the subform, the anniversary date in the profile area would change to one year from that day's date. So if my anniversary is 9/15/2014 and I give money on 9/10/2014, my anniversary date automatically changes to 9/10/2015.

The anniversary date field is in one table and the donation data is in another. It still works in the old version of the database, but I can't find anything in the VBA or the field properties that accounts for the auto-update except this "=DateAdd("yyyy",1,Date())" in the default value of the Anniversary date field property. But it's the exact same in the new version and the old one works and the new one doesn't.

Am I looking in the wrong places?

Thank you.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,203,453
Messages
6,055,530
Members
444,794
Latest member
HSAL

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top