Link to home
Start Free TrialLog in
Avatar of ITBenelux
ITBeneluxFlag for Belgium

asked on

Access compatibility check 2003 - 2007

Experts,

I'm want to starrt using my A2003 (ADP) application in a 2007 environment, but there is some code that I need to re-write for 2007.  as it is only a few lines, I want to add and if then else structure to determine the access version ?  any idea how I can do this ?
something like
If straccess_version = "2003" then
 code A2003
else
 code A2007
end if

Thx in advance
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ITBenelux

ASKER

That was the line, I was looking for.  To answer your question, some adp's will have to run in a mixed environment for a while, that what I needed the check for.

Thx
I see ... but what code are you running in 2003 that will NOT run in 2007? Any code that is viable on the 03 platform should work on the 07 platform, assuming you're not converting to the ACCDB format ... and even then, most code would work.
It is mainly a Ribbon issue.  my custom toolbar's shows up in the add-in toolbar.  So I just skip some code in 2007