Hi,
I have the following code for working out a log function. When I put it in my database I get this error.
"The expression On Load you entered as the event property setting produced the following error: Expected variable or procedure, not module."
The code is;
Static Function Log10(X)
Log10 = Log(X) / Log(10#)
End Function
(Straight from the access help.)
The wierd thing it works in one database and not another. I have checked the references and they are the same.
Thanks for any help anyone can give me...
I have the following code for working out a log function. When I put it in my database I get this error.
"The expression On Load you entered as the event property setting produced the following error: Expected variable or procedure, not module."
The code is;
Static Function Log10(X)
Log10 = Log(X) / Log(10#)
End Function
(Straight from the access help.)
The wierd thing it works in one database and not another. I have checked the references and they are the same.
Thanks for any help anyone can give me...