C
croy
When the DefaultValue for a control is set via VBA, when
does it become effective.
In other words, when the focus moves to a new record, will
code in the form's Current Event that sets a new
DefaultValue show up in this record?
If not, how about if the code is moved to the LostFocus
Event of the last control in the previous record? If still
no, what about the Exit Event of the last control in the
previous record?
If still no, when is the last opportunity to set a default
value and have it effective in the next new record?
does it become effective.
In other words, when the focus moves to a new record, will
code in the form's Current Event that sets a new
DefaultValue show up in this record?
If not, how about if the code is moved to the LostFocus
Event of the last control in the previous record? If still
no, what about the Exit Event of the last control in the
previous record?
If still no, when is the last opportunity to set a default
value and have it effective in the next new record?