Hi,
I have created a class module which contains various useful functions.
Some of the functions use recordsets.
If I am using the class in a project that doesn't use databases (and therfore dosn't reference ADO), I get an error in the class at run time of "User defined type not defined" because of the functions that use recordsets.
Is there anyway that the class can "Ignore" those functions without me having to comment out the relevent code?
Do I have to remove those functions (don't want to!)?
Cheers in advance..
I have created a class module which contains various useful functions.
Some of the functions use recordsets.
If I am using the class in a project that doesn't use databases (and therfore dosn't reference ADO), I get an error in the class at run time of "User defined type not defined" because of the functions that use recordsets.
Is there anyway that the class can "Ignore" those functions without me having to comment out the relevent code?
Do I have to remove those functions (don't want to!)?
Cheers in advance..