I need to write an Access 97 .mdb file -


I have an Access 97 from a SQL Server 2005 db. Data needs to be exported in MDB file. The client needed is Access 97 because the system in which they are importing it requires the Access 97 file format (I did not initially get it). Any suggestions on how to sql or To write access files from Net (or VB6 or Ruby or Python ..)?

Thank you in advance, li

Whatever access version you have installed, Need to be exported in the access file (unless it is 2000 to ... 2003; Access 2007 97 does not have to be written to access files). I think you already know how to do this.

Then you can create an access object through COM and ask it to convert your new .MDB file to a new Access 97 database. In VBScript, the code looks like this (if you're using VBA, VB.Net, or other language, adjust as needed):

  const acFileFormatAccess97 = 8 dim app set app = CreateObject ("Access.Application") app.ConvertAccessProject "y: \ mydatabase.mdb", "y: \ mydatabase97.mdb", acFileFormatAccess97  

if you have access 97 installed The order given above is not 'T work', because there was not a ConvertAssetset project function in that version. Of course, you do not have to convert the file anyway in that case anyway.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -