BlueJacket
Registered User.
- Local time
- Today, 13:37
- Joined
- Jan 11, 2017
- Messages
- 90
I think this should be relatively easy, but I still don't have a grasp of VBA/Macros enough know exactly how to do it myself. I want to be able to click a checkbox and then for the form to put in today's date in a related record.
For example: "Paperwork X Filed:" *clicks checkbox*, then in the "Paperwork X Filed Date" text box, today's date is automatically recorded. I don't want the checkbox itself bound to any table to be recorded.
I feel like a few If Then statements are all that is needed, right?
If "Paperwork X Filed Date" is null, then checkbox = null.
If "Paperwork X Filed Date" is not null, then disable checkbox.
On checkbox_click, if "Paperwork X Filed Date" is null, then "Paperwork X Filed Date" = now()
Of course, the actual names of the checkbox and text fields will not have any spaces in them and be properly named.
For example: "Paperwork X Filed:" *clicks checkbox*, then in the "Paperwork X Filed Date" text box, today's date is automatically recorded. I don't want the checkbox itself bound to any table to be recorded.
I feel like a few If Then statements are all that is needed, right?
If "Paperwork X Filed Date" is null, then checkbox = null.
If "Paperwork X Filed Date" is not null, then disable checkbox.
On checkbox_click, if "Paperwork X Filed Date" is null, then "Paperwork X Filed Date" = now()
Of course, the actual names of the checkbox and text fields will not have any spaces in them and be properly named.