ms-jet-ace

Insert rows into Access db from C# using Microsoft.Jet.OLEDB.4.0, autonumber column is set to zero

I'm using C# and Microsoft.Jet.OLEDB.4.0 provider to insert rows into an Access mdb. Yes, I know Access sucks. It's a huge legacy app, and everything else works OK. The table has an autonumber column. I insert the rows, but the autonumber column is set to zero. I Googled the question and read all the articles I could find on this su...

Creating a new database (.mdb) with ADO.NET

How can I create a empty .mdb file? I'm using ADO.NET and C#. Thanks! ...

Numeric "date" in database - How to interact with that using "normal" dates?

I'm using this database where the date colomn is a numeric value instead of a Date value. Yes, I know I can change that with a mouseclick, but all the applications using that database were made by one of my predecessors (and everyone after him just ignored it and built on). So if I'd change it to Date a lot af applications would fail. ...

C# Issue: What is the simplest way for me to load a .MDB file, make changes to it, and save the changes back to the original file?

My project that I am working on is almost finished. I am loading a .MDB file, displaying the contents on a DataGrid and attempting to get those changes on the DataGrid and save them back into the .MDB file. I am also going to create a function that allows me to take the tables from one .MDB file and save it to another .MDB file. Of cours...

Reading Microsoft Access files in Java

How to read (and write) MS Access files (.mdb) in Java? Is there any open-source jdbc driver for MS Access? ...

Pros and cons of the Access database engine. Life after SQLite.

I asked a question a while ago about which local DB was right for my situation. I needed to access the DB from both .NET code and VB6. The overwhelming response was SQLite. However, I decided to pass on SQLite, because the only OLE DB provider for it charges royalties for every deployed copy of my software. It also requires an activa...

MS Access (MDB) concurrency

For a small project I need to utilize a simple database with very light requirements: few tables, no more than few thousands of records in total, 2 or 3 users. I am working in .NET environment. As a database server (even those Express editions) seems like a huge overkill in this case, a very simple MDB database could do for most of the ...

How to extract the schema of an Access (.mdb) database?

I am trying to extract the schema of an .mdb database, so that I can recreate the database elsewhere. How can I pull off something like this? ...

Microsoft Jet wildcards: asterisk or percentage sign?

What is the proper multi-character wildcard in the LIKE operator in Microsoft Jet and what setting affects it (if any)? I am supporting an old ASP application which runs on Microsoft Jet (on an Access database) and it uses the % symbol in the LIKE operator, but I have a customer who apparently has problems in his environment because the ...

Reading MS Access mdb files in Delphi (for free)?

I'm looking for a Delphi component / library to open and read from an mdb (MS Access) database. I will not be writing to the db or displaying the data; just need to read the db using whatever sql Access supports. This is for a personal side-project (programming is not my paying job), so I need a free or a very inexpensive solution that...

MailMerge from C# when Access mdb has password

Hi , I am trying to use MailMerge programatically ( from C# ). I am using an Access database file as a data source. The Access database has a password. The following code does not work for some reason even though it should. I get an invalid password textbox. WordApp = new ApplicationClass(); WordApp.Visible = true; ...

opening an mdb access file without access

i dont have microsoft access but would like to open an mdb file, is there any way to do this? the mdb file contains SQL code that i need. it is just a file that connects to a remote database. i need to view the sql code i did try openoffice base, but it only showed me some tables. i dont see where the sql code is? ...

JET and ODBC driver missing, can not get data from MDBs

These are MY symptoms: (XP Pro, 32bit) -Programs that access .mdb databases (aside from Access 2007 itself) can not get any data. -Using the Data Sources in Visual Studio 2008 to connect to an MDB shows tables, but you can not query. you receive "Unknown Error" from the Microsoft JET Database Engine -ArcCatalog can not read a personal g...

Downloading MDB (Access) file from IIS

This question might be better asked over on ServerFault, but since this is related to a programming project, I'll ask here. Simply put, how do I configure IIS to let me download an Access (.MDB) file the same way it lets me download .HTML, .EXE, etc. files? I've tried taking MDB out of the mime types, changing the extension to .DAT, te...

How can i access and manipulate a mdb file available online (on web) using VB

I have a mdb file hosted on my site http://www.simplyfy.co.in/db/dbfile.mdb. I am developing an application which will be running on multiple machines and will contact the mdb file via internet. I am not sure how do i go about it as building the connection string for an online connection. Any help? ...

CakePHP and connecting to MS Access db using Unixodbc

I'm trying to use an Acces (MDB) database from a CakePHP app. On a Windows machine this works fine. On a Linux machine using Unixodbc this doesn't work at all. The error is as follows: Warning (2): odbc_connect() [function.odbc-connect]: SQL error: [unixODBC][Driver anager]Data ource name not found, and no default driver specified, SQL ...

Scaleable MS Access ASP.NET app

I am constrained by the following, no way around it: Read-Only Data: Microsoft Access JET 4.0 OLDB ASP.NET 2.0 Shared Host, very little control. OR Mapper - LLBL Gen Pro The app is a read-only tool that reads a lot of Microsoft Access Databases in the APP_Data folder. Works fine mostly. Under load it starts failing accessing the Acc...

How to delete a row from DB (*.mdb) in c#

Hello, I have an access DB (.mdb) named: Programs, with one table named: Data. By using the DataGridView I present the data from the table Data. I want to delete a row from the DataGridView and from the DB during runtime. Does anyone know how to do that (using C#)? Another question I have is, who can i run queries on my DB? thanks! ...

MDB query for Time

I have table as Id Name Date Time 1 S 1-Dec-2009 9:00 2 N 1-Dec-2009 10:00 1 S 1-Dec-2009 10:30 1 S 1-Dec-2009 11:00 2 N 1-Dec-2009 11:10 Need query to display as Id Name Date Time 1 S 1-Dec-2009 9:00 1 S 1-Dec-2009 11:00 2 N 1-Dec-2009 10:00 2 N 1-Dec-2009 11:10 ...

Max and Min Time query

how to show max time in first row and min time in second row for access using vb6 ...