Intro to Access VBA Functions
Functions
as used in Access macros are modules of Visual Basic code
that perform actions when the macro uses the “RunCode” action.
The
argument for the “RunCode” action specifies the code to be run,
and the code specifies exact program instructions that will be executed.
Values
can be ‘passed’ to a function and are placed between parentheses,
in what is called t he ‘argument list.’
The
‘argument list’ is a list of data that the function needs to perform its task.
Technically,
a function procedure returns a value to the program or procedure
that called it, but Access macros mostly use their power to execute
instructions
as arguments to a “RunCode” action.
Click
Here for More on Using Functions