Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Developing in Access 2007, deploying on 2003

Status
Not open for further replies.

JJSRich

MIS
Dec 4, 2008
59
GB
I've been recently upgraded to a PC with Office 2k7 on it, and am still responsible for maintaining the Access database. We've had some bother with my latest update. Basically I've needed to remove the references to the Excel 12.0 Object Library, and add in the reference to the 11.0 library on one of the Office 2k3 PC's, then distribute that. Since the export to Excel is quite important for some of our analysis, I would like to stop this from happening. Is there any way to easily write a backwards-compatable Access DB?
 

How about Save As from the Office button dropdown menu?


Randy
 
That doesn't carry the components with it. I know all about the whole Office 2007 file format debacle, and it really is a pain in the neck.
 
I know of no easy way to do it. You want to use as much late binding as possible, which makes writing code more difficult. Late binding will solve the issue with the reference to Excel. However, you will still need to test it in a 2003 environment. I have found that some of the new colors to not port over correctly such as getting a normal white background text bock becoming an black font on a black backgound.
 
I thought there would be no easy way, Office is Microsoft's gravy train, after all. I will look in to the late binding, and see if it is applicable, and works.
 
I know of no "easy" organic way. However along with late binding you can write code that sets your references. So you deploy it without references and let the code set the references. There is lot of examples to do this.

But besides late binding and writing your own code, I do not know of any easier ways. There are 3rd party apps that do this.
 
As a disclaimer. I do not develop applications for commercial distribution. Most db's I make are for personal or limited use. You may need to get a second opinion from someone who does distribution of Access applications.
 
We don't distribute this app, it's in-house only.
 
The usual way is to develop into the lowest version.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Goodie. I get to develop into Office 2000 then, as we've got a few installs of that kicking around... not that they need to use the database now. If it becomes any more of a hassle, I swear I'm going to re-write it all in C# or PHP, like I wanted to do 2 years ago. [2thumbsup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top