[AccessD] Conditional compiling

Seth Galitzer sgsax at ksu.edu
Wed May 7 10:44:20 CDT 2003


Greetings,

I've got an app that needs to run on A2K and A97.  I've got some code
that uses user-defined enumerated types and some WithEvents
declarations, neither of which are supported by A97.  Is there a way to
conditionally compile the code depending on the Access version?  I know
you can use conditional statements, but I don't know if they can be used
in this way.  Right now, I'm supporting two versions of the app, one for
each version of Access, but it's making updating a real pain.  I'd also
like to be able to create conditions based on the Windows version.  I
imagine both are similar, if they are even possible.

Any info and samples would be appreciated.

Seth

-- 
Seth Galitzer			sgsax at ksu.edu
Computing Specialist		http://puma.agron.ksu.edu/~sgsax
Dept. of Plant Pathology
Kansas State University



More information about the AccessD mailing list