ms-jet-ace

asp binding returning wrong value from database

When I bind a url using the productID field from my access database it returns the wrong value for example as my database starts with the first field as 2 it returns -1, then -2 for 3 and so on. <a href='details.aspx?ID=<%#Eval("ProductID") %>'> thanks ...

ASP.NET and Access Databases

Hi, I have an ASP.NET web application that accesses an Access Database. The Access Database is only for testing purposes. I have hard coded the connection string which is correct, yet the application throws an error saying: C:\MyDb\Db.mdb is not a valid path. Make sure that the path name is spelled correctly and that you are connected...

SQL Server Import and Export Wizard Error

I'm trying to import an 82k+ row table from an access db to SQL Server 2008. Using the SQL Server Import and Export Wizard, I get an error at about 78k records entered. Here's the error: Error 0xc0208265: Data Flow Task 1: Failed to retrieve long data for column "members_notes". Error 0xc020901c: Data Flow Task 1: There was an error...

JDBC Driver for MsAccess which will work on Unix

I need a JDBC driver for MsAccess to be used in a Unix environment I would strongly prefer it to be an open-source Also it should support SQL statements (Jackcess came close to being my choice- but it doesn't support SQL queries) http://jackcess.sourceforge.net/faq.html#query ...

Does a command-line client exist for Microsoft Jet database engine?

Is there such a thing as a shell-based command-line client for Microsoft's Jet database engine? Something similar to SQLite 3.x (sqlite3.exe) for SQLite. ...

sql sum data from multiple tables

I have 2 tables AP and INV where both have the columns [PROJECT] and [Value]. I want a query to return something like this : PROJECT | SUM_AP | SUM_INV I came up with the code below but it's returning the wrong results ( sum is wrong ). SELECT AP.[PROJECT], SUM(AP.Value) AS SUM_AP, SUM(INV.Value) AS SUM_INV FROM AP INNER JOIN INV ON...

MS Access: Why is ADODB.Recordset.BatchUpdate so much slower than Application.ImportXML?

I'm trying to run the code below to insert a whole lot of records (from a file with a weird file format) into my Access 2003 database from VBA. After many, many experiments, this code is the fastest I've been able to come up with: it does 10000 records in about 15 seconds on my machine. At least 14.5 of those seconds (ie. almost all th...

DAO.DBEngine.OpenDatabase: Mémoire insuffisante. (ie. Out of memory)

I'm working on an application that talks to an Access database via DAO. Normally I use CreateObject("Access.Application") to get a copy of Access, then refer to the database via Application.CurrentDb, which works fine. But for some activities we need to do this instead for speed (VBA written for clarity, though the app is actually in C...

Extract query definition from JET database via ADO

I have a program in Delphi 2010 that uses a JET (mdb) database via ADO. I would like to be able to extract the definitions of some of the queries in the database and display them to the user. Is this possible either via SQL, some ADO interface, or by interrogating the database itself (I don't seem to have rights to MSysObjects). ...

Most reliable solution to determine whether to use ACE or OLEDB in connection string?

I'm handed a path of an access 2000(/2003 (edit)), or access 2007 database: C:\database.mdb or C:\database.accdb I have to determine a suitable connection string, using either ACE or JET, to connect to the database. I was wondering whether parsing the last part of the string and determining whether it is mdb or accdb is guaranteed...