Hello everyone,
I'm fairly new to Access and I've been racking my brain over this particular issue for a couple of days now, and I was wondering if I could perhaps get some assistance.
I have a form (that is sourced to a query) that has 5 date fields. I want to be able to enter a date in Field1, and I want the other 4 fields to auto-populate as follows:
Field2 = Field1 + 1 year
Field3 = Field1 + 2 years
etc, etc
I've tried using the DateAdd function in the Default Value of each Date Field in the Form itself with no luck. I also tried using that same function as a VB code in AfterUpdate Event, but no luck again.
Any suggestions would be greatly appreciated.
Thank you,
Ryan
I'm fairly new to Access and I've been racking my brain over this particular issue for a couple of days now, and I was wondering if I could perhaps get some assistance.
I have a form (that is sourced to a query) that has 5 date fields. I want to be able to enter a date in Field1, and I want the other 4 fields to auto-populate as follows:
Field2 = Field1 + 1 year
Field3 = Field1 + 2 years
etc, etc
I've tried using the DateAdd function in the Default Value of each Date Field in the Form itself with no luck. I also tried using that same function as a VB code in AfterUpdate Event, but no luck again.
Any suggestions would be greatly appreciated.
Thank you,
Ryan