I have a form with a New Record button, a Save Record button, and a field with a date picker. I also have a simple VBA code that saves the last fields' values as a default on the Mouse Up event of Save Record.
If I choose any date other than the current day, I can click Save Record and everything works fine. However, if I click New Record and then try Save Record, nothing happens.
If I actually change or add a value to a field after clicking New Record and then click Save Record, it does save the record.
Does anyone know how to fix this? Not sure why it only happens for the current date...
I've tried:
1) Having a value of a field change (in VBA) after clicking New Record in the Mouse Up event. It works but only once. This is okay, but if someone accidentally clicks New Record twice, then it won't work.
2) I tried setting a field value to itself (in VBA) after clicking New Record in the Mouse Up event to see if that would somehow refresh itself. It didn't.
3) I've tried New Record as VBA as well. It didn't work.