jalewis999 wrote in message
Is it possible to refer to a public variable declared at module level
in a query and in a control (both report and form).
Not directly, but through a public function residing also in a standard
module.
public function GetMyVariable() as <your data type>
GetMyVariable = g_MyPublicVariable
end function
Then refer to that function both in the query and report. Note again,
that the function must reside in a standard module, not a forms/reports
module.