Ok, I know. Strange request. But it can help my specific situation.
I have a form bound to a table.
The "Data Entry" property of the form is set to Yes.
After adding several records, Is there any way (VBA) to reset the form to it's original "blank" data-entry state? Just like closing and opening it again.
In another word, after adding several records, is there any way to truly replicate the state of the form when it first opens, with no records visible?
Something like resetting its recordset and forcing it to reinitialize with a fresh data-entry view.
I tried
Set Me.Recordset = Nothing
but it causes the form loose its link to the source table.
I can simply set echo to false, close it, then use hidden parameter in OpenForm and then visible to true, but I couldn't get the OK from those who use the form.
Thanks for any kind of suggestion.
I have a form bound to a table.
The "Data Entry" property of the form is set to Yes.
After adding several records, Is there any way (VBA) to reset the form to it's original "blank" data-entry state? Just like closing and opening it again.
In another word, after adding several records, is there any way to truly replicate the state of the form when it first opens, with no records visible?
Something like resetting its recordset and forcing it to reinitialize with a fresh data-entry view.
I tried
Set Me.Recordset = Nothing
but it causes the form loose its link to the source table.
I can simply set echo to false, close it, then use hidden parameter in OpenForm and then visible to true, but I couldn't get the OK from those who use the form.
Thanks for any kind of suggestion.