R
Rob G
Hello All,
I consider myself on at least an intermediate level in Access and VBA
programming, but I am just beginning to explore creating class modules.
My question is, if I create a function in a class module can I use it in a
query? I tried and it didn't seem to work.
For example, I use a function in a query that returns a percentile. I tried
doing that, but I just get an 'Undefined Function' error message. I
understand why, I think.
Does it even make sense to use the function this way or are class modules
really for organizing in VBA code and nothing else?
Any enlightenment would be greatly appreciated.
Thanks.
-Rob
I consider myself on at least an intermediate level in Access and VBA
programming, but I am just beginning to explore creating class modules.
My question is, if I create a function in a class module can I use it in a
query? I tried and it didn't seem to work.
For example, I use a function in a query that returns a percentile. I tried
doing that, but I just get an 'Undefined Function' error message. I
understand why, I think.
Does it even make sense to use the function this way or are class modules
really for organizing in VBA code and nothing else?
Any enlightenment would be greatly appreciated.
Thanks.
-Rob