I have a VB app which stores information in an Access 2000 db. The VB app
handles multiple users (it's a logbook type of application, users share
lookup tables but don't share information among themselves - IOW, I couldn't
see your log entries and you couldn't see mine).
We're adding a web interface to the package - basically a scaled down data
entry interface to allow users to add log entries without being at their
workstations. The web version will be storing data in a SQL Server 2000 db.
I need to be able to synchronize data between the two - if a users
edits/adds a log entry in the desktop version, they need to be able to
synchronize the desktop and web (this is done via a button click, no
"realtime" updates). Same scenario with the web side, but the web interface
won't acutally be able to synch with the desktop - the user would have to
initiate the synch from their workstation. We've pretty much worked out the
synch logic path, and we're working on acutally interfacing with the SQL
Server.
Can this be done reliably using a standard ADO connection between the
desktop and the web site? I would imagine traffic would be somewhat
minimal - on average, no more than 100 records would be added or updated.
I've done some testing on this, and with 20 - 50 records it seems to work
fine both ways.
Suggestions of better/more reliable methods would be most appreciated, and
thanks for your time 5 1786
I'm not sure what you mean by "reliably" - if the workstations connect
to the MSSQL server, then they're just another client, so they will be
as reliable as your network, application code etc allow. And a hundred
rows is a very small amount of data, unless perhaps you have to work
with text or image columns.
Personally, I would consider removing Access altogether, and use a
single MSSQL database - no sync required, one point of backup and
recovery, better security etc. But of course that may be a bigger
change than you're willing or able to make in your environment.
Simon
Thanks for your reply. We considered moving totally to SQL Server, but users
will not always have Internet access. There are several text columns (none
over 500 characters) and no image columns, pretty much plain jane numeric
and text data.
"Simon Hayes" <sq*@hayes.ch> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com... I'm not sure what you mean by "reliably" - if the workstations connect to the MSSQL server, then they're just another client, so they will be as reliable as your network, application code etc allow. And a hundred rows is a very small amount of data, unless perhaps you have to work with text or image columns.
Personally, I would consider removing Access altogether, and use a single MSSQL database - no sync required, one point of backup and recovery, better security etc. But of course that may be a bigger change than you're willing or able to make in your environment.
Simon
"Scott McDaniel" <sc***@infotrakkerDELETEME.com> wrote in message
news:D_********************@comcast.com... Thanks for your reply. We considered moving totally to SQL Server, but
users will not always have Internet access. There are several text columns (none over 500 characters) and no image columns, pretty much plain jane numeric and text data.
Look into them using the MSDE. "Simon Hayes" <sq*@hayes.ch> wrote in message news:11*********************@f14g2000cwb.googlegro ups.com... I'm not sure what you mean by "reliably" - if the workstations connect to the MSSQL server, then they're just another client, so they will be as reliable as your network, application code etc allow. And a hundred rows is a very small amount of data, unless perhaps you have to work with text or image columns.
Personally, I would consider removing Access altogether, and use a single MSSQL database - no sync required, one point of backup and recovery, better security etc. But of course that may be a bigger change than you're willing or able to make in your environment.
Simon
"Scott McDaniel" <sc***@infotrakkerDELETEME.com> wrote in message
news:D_********************@comcast.com... Thanks for your reply. We considered moving totally to SQL Server, but users will not always have Internet access. There are several text columns (none over 500 characters) and no image columns, pretty much plain jane numeric and text data.
My inclination would be to write my own code to do the updating.
I'd store a last connection timestamp in the access database and a timestamp
on each change record.
Apply all updates >= last connection, update last connection....
The complication is if the users can stick a change in via the web interface
since their last connection on their laptop.
You'd need to keep a change log and apply this to the sql "master" database
in order of changes.
Not an issue if there's only one given user can change their own subset of
data and they only ever use the one laptop may or may not be connected.
Which is usually the case for salesmen.
I've worked on stuff where the salesmen would pull a local copy of their
data onto a laptop as they went off travelling. They then would make
changes as they were at client sites. Occaisionally, they get a chance to
connect remotely and push these changes to the main database.
--
Regards,
Andy O'Neill "Simon Hayes" <sq*@hayes.ch> wrote in message news:11*********************@f14g2000cwb.googlegro ups.com... I'm not sure what you mean by "reliably" - if the workstations connect to the MSSQL server, then they're just another client, so they will be as reliable as your network, application code etc allow. And a hundred rows is a very small amount of data, unless perhaps you have to work with text or image columns.
Personally, I would consider removing Access altogether, and use a single MSSQL database - no sync required, one point of backup and recovery, better security etc. But of course that may be a bigger change than you're willing or able to make in your environment.
Simon
Thanks Andy,
Your concerns were mine as well, and your scenario of the travelling
salesman is pretty apt. Users can only change their own records, and they
always do so through the same interface ... they can move the Access
database, or they can create a new Access database (for a new log) but that
will always be considered a "new" log, not an addition to an existing log
(users can "merge" logs together, at which time we would mark each new
merged record as a new record and add that to the web db).
Users can add/edit via the web interface, independent of the desktop
interface, but users cannot review/edit other users log entries - they are
not even presented in either the web or user interface. I was storing a
boolean value in a column, but like your idea of storing the last sych date
and comparing that to stored LastConnectionDate. I'm already timestamping
all updates/additions/deletes, so this would be simple to implement.
--
Scott McDaniel
"Andy O'Neill" <ao***************@lycos.co.uk> wrote in message
news:zk****************@fe3.news.blueyonder.co.uk. .. "Scott McDaniel" <sc***@infotrakkerDELETEME.com> wrote in message news:D_********************@comcast.com... Thanks for your reply. We considered moving totally to SQL Server, but users will not always have Internet access. There are several text columns (none over 500 characters) and no image columns, pretty much plain jane numeric and text data.
My inclination would be to write my own code to do the updating. I'd store a last connection timestamp in the access database and a timestamp on each change record. Apply all updates >= last connection, update last connection....
The complication is if the users can stick a change in via the web interface since their last connection on their laptop. You'd need to keep a change log and apply this to the sql "master" database in order of changes. Not an issue if there's only one given user can change their own subset of data and they only ever use the one laptop may or may not be connected. Which is usually the case for salesmen. I've worked on stuff where the salesmen would pull a local copy of their data onto a laptop as they went off travelling. They then would make changes as they were at client sites. Occaisionally, they get a chance to connect remotely and push these changes to the main database.
-- Regards, Andy O'Neill
"Simon Hayes" <sq*@hayes.ch> wrote in message news:11*********************@f14g2000cwb.googlegro ups.com... I'm not sure what you mean by "reliably" - if the workstations connect to the MSSQL server, then they're just another client, so they will be as reliable as your network, application code etc allow. And a hundred rows is a very small amount of data, unless perhaps you have to work with text or image columns.
Personally, I would consider removing Access altogether, and use a single MSSQL database - no sync required, one point of backup and recovery, better security etc. But of course that may be a bigger change than you're willing or able to make in your environment.
Simon
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: WebRod |
last post by:
Hi,
i am tyring to find a solution to synchronize 2 environnement for months!!
How do you synchonize one (or several!!) production environnement from
DEV????
I am looking for a software...
|
by: Michael Rybak |
last post by:
hi, everyone.
I'm writing a 2-players game that should support network mode. I'm now
testing it on 1 PC since I don't have 2. I directly use sockets, and
both client and server do...
|
by: chandrub78 |
last post by:
Hello Everyone
We have a third party tool which maintains its own custom
database,DB1 on SQL Server 2000 on Server A (Windows 2000). We built an
inhouse application which maintains a transactional...
|
by: John |
last post by:
Hi
Is there a way to synchronise/replicate an access db with sql server 2000
db, short of writing the code oneself?
Thanks
Regards
|
by: Jobs |
last post by:
Download the JAVA , .NET and SQL Server interview with answers
Download the JAVA , .NET and SQL Server interview sheet and rate
yourself. This will help you judge yourself are you really worth of...
| |
by: rdemyan via AccessMonster.com |
last post by:
My application is calculation intensive and the servers are agonizingly slow.
Administrators of my application only update the backends once a month (twice
a month max). So, my launching program...
|
by: johandekroon |
last post by:
I am relatively new to .net and SQL server 2005 but I am creating an application which runs on a handheld. The application needs to retrieve information from a MS SQL Server 2005 database. It shall...
|
by: ingejg |
last post by:
I am starting to study internet synchronization, and my head is still
spinning since internet is not my forte, however my boss is breathing
down my neck at the moment. Our company has only one...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |