G
Guest
I’ve inherited a database that auto populates a field by a macro that I don’t
quiet understand how it works. The macro name is “input by†and here's its
definition.
condition: [Forms]![Log_Form]![Input By] Is Null
[Forms]![Log_Form]![Date Input] Is Null
action: SetValue
SetValue
StopAllMacros
item: [Forms]![Log_Form]![Input By]
expression: CurrentUser()
item: [Forms]![Log_Form]![Date Input]
expression: Now()
I’m not sure how Access uses CurrentUser() to populate the field. Any
explanation will be greatly appreciated! (Or point me to where I can find
more info.)
Thank you so much in advance.
quiet understand how it works. The macro name is “input by†and here's its
definition.
condition: [Forms]![Log_Form]![Input By] Is Null
[Forms]![Log_Form]![Date Input] Is Null
action: SetValue
SetValue
StopAllMacros
item: [Forms]![Log_Form]![Input By]
expression: CurrentUser()
item: [Forms]![Log_Form]![Date Input]
expression: Now()
I’m not sure how Access uses CurrentUser() to populate the field. Any
explanation will be greatly appreciated! (Or point me to where I can find
more info.)
Thank you so much in advance.