...continua...
" This can't be stressed enough. Furthermore, if Access is actually running
on the remote machine as Ivan said, that counts as a client. If you access
the database via ODBC at the same time as through Access itself, whether
your ODBC client is VB, Gambas or anything else, you risk corruption. Like
sqlite, Access is designed for single-user data storage, even if Microsoft
has added features over the years to make it seem otherwise.
I did a project exactly like this about 8 years ago, and we ended up
moving the data into a MySQL server, converting the tables to ODBC links
using some Access macro we found in a MySQL forum, and accessing the MySQL
data natively from Gambas and a web inquiry system. Even so, Access
misbehaved constantly and made it a nightmare.
Multi-user networked database applications need a multi-user networked database
server. Period.
Rob "
" This is true, You should not change your access database while connecting
to it via ODBC. Also, you may find some queries don't work as expected.
Again, Access looks like a T-SQL database but is not really. It would be
best to use the ODBC connection to update a local MySQL or Postgres
database on your Linux box. Not only would it be faster, but much more
reliable. If you provide access via odbc through MSSQL Server and not via
MS Access then, the issues with multiple clients and updates shouldn't be
an issue as MSSQL manages the connections and data source.
Randall Morgan "
" Ready to take another look at converting your multi-user database (ahem!
SINGLE USER FILE!) to a proper dbms? :-D
I did also look at mdbtools and the like before rolling my own
conversion tool but nothing worked particularly well... I ended up with
some fugly combination of awk, sed, grep, etc. and it still didn't do
the conversion right!
If your data isn't particularly sensitive nor particularly huge, send it
on and I'll see what my conversion program makes of it. Right now, I've
converted the database we use at work for stock control, invoicing etc.
to both MSSQLServer and MySQL and of course, the ubiquitous Northwind
sample db. I'm still planning on adding support for binary data
fields... if you don't have any, then you're in luck!
Kind regards,
Caveat "