troubleshooting Question

How access textbox with date function

Avatar of cheryl9063
cheryl9063Flag for United States of America asked on
Microsoft AccessSQL
11 Comments1 Solution391 ViewsLast Modified:
I have a textbox on a form that I want to set the value of in VBA when the value of a checkbox is true. I want the value to be the first day of the year. If it's false the value= date()-1.. How do I set the value to the first day of the year?
ASKER CERTIFIED SOLUTION
cheryl9063

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros