i have a public function in a db module called within a private sub in a forms class module. the function is on the right side of an equals sign as follows, without the specific call command:
private sub a
curb= function c (params)
end sub
if the parameters are correct, and they have the correct scope, (which i believe they are and do), why would i recieve a 'sub or funtion not defined' error? am i trying to do something that cant be done?
if someone with more vba expereince can answer this question, or offer insight, i would really appreciate it.
thanks!
ap
private sub a
curb= function c (params)
end sub
if the parameters are correct, and they have the correct scope, (which i believe they are and do), why would i recieve a 'sub or funtion not defined' error? am i trying to do something that cant be done?
if someone with more vba expereince can answer this question, or offer insight, i would really appreciate it.
thanks!
ap