M
Marc Miller
I have a function in a module and call it from a text field in
a report, yet I keep getting a value of 0 for the variable.
I tried it on a real production report in Access 2000 and then I created a
test
in Access 2003. Both have the same behavior. Here is what I have
Module -
Public myVar as integer
Public function getNum() as integer
myVar = 55
End Function
In the report I have a text field that contains:
=getNum()
It returns 0.
Any help would be quite appreciated.
Thanks,
Marc Miller
a report, yet I keep getting a value of 0 for the variable.
I tried it on a real production report in Access 2000 and then I created a
test
in Access 2003. Both have the same behavior. Here is what I have
Module -
Public myVar as integer
Public function getNum() as integer
myVar = 55
End Function
In the report I have a text field that contains:
=getNum()
It returns 0.
Any help would be quite appreciated.
Thanks,
Marc Miller