MS Access Connection Strings
-
One of them:
Driver={Microsoft Access Driver (*.mdb)};DBQ=Database.mdb
The other one:
PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=Database.mdb
Normally I haven’t had a problem using both of these, but I experience the first one to be better. When running UPDATE queries against the second one (PROVIDER) I got the error code -2147217900 with the message “Syntax error in UPDATE statement. Microsoft JET Database Engine.” when there were NO syntax errors what-so-ever. I even tried the query directly in MS Access with success. All permissions were OK as well and easy to handle.
Once I swapped to the “Driver” connection string, it worked perfectly.
I find this information very useful, especially since there are no indicative or direct logics behind this issue. I hope that someone else that needs it, finds it.
Leave a Reply
Welcome to Thronic.com
Search this Site
Miscellaneous Links
Recent Articles
- Google-like search suggestion tool
- Linux Bash Color
- Resize a div layer with javascript
- Moving a div layer with javascript
- Web Galaxy » A sci-fi browser game
- Windows 7 on Asus Eee 900 PC
- IE and PHP sessions
- Wordpress 2.8.6 Spell Check Languages
- Reset MySQL Root Password
- Linux hosts file
- IdleGuard
- Column count in SQL
- String encryption in PHP
- Alphanumeric Captcha values in PHP
- Your own numeric Captcha in PHP
