473,795 Members | 2,914 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Consolidate data in head office

Bob
I have been asked to modify an existing Access database so that it can
update a MySQL databse in head office from multiple MS Access databases in
branches. The idea is that when the HO database is available then any
changes made in branch will automatically update HO but when HO database is
not available then changes are 'batched' until it is available and then
update. (There is a Virtula Private Network involved in this). The update
is not really time critical so I am thinking along the lines of batching
updates anyway and then trying to send them every few minutes. I figure
that it should be a relatively easy job to write a generalised function that
is called by every form or subform 'on change', 'on delete' or 'on addition'
event (with table name and key field name and value and type of transaction)
which would then keep a record of the info and then send the table/s as
required - possible when a connection is available.

I don't feel too worried about the technical side of this operation but
don't really like re-inventing the wheel and so am wondering if anyone has
generalised code that will do most of what I want to do. Happy to pay a
reasonable commercial price for the software if necessary longs I can us it
in other databases I sell.

PS DO NOT want to use Access Replication!!!! !!

Bob Collinson
Colsoft Pty Ltd
13 Watson Avenue,
Rose Park, SA, Australia

Phone/Fax: International 618 8331 3713 Australia 08 8331 3713

Nov 13 '05 #1
1 1802
Bob,

I don't know how many, how big or interconnected the tables are that
are involved, but I think that when more than a few independent tables
are involved your approach could end up difficult to manage. Think of
how to initialize or resync after database or connection problems, how
to implement changes in what to sync, how to adapt to heterogenous
systems after a merge of companies etc.
If you could live with a scheme with a sync once or a few times every
day then I could have a much more generic solution not based upon any
code within the involved applications.
I developed a flexible table-sync tool (one way) based upon Access
select-querys. Your solution can be set up in a seperate mdb-file with
linked tables to both systems through ODBC or direct. The generic code
is in a Access menu add-in and provisions are made for safe unattended
operation by safe storage of needed database passwords and one-click
generation of a Windows-scheduler task.
It has a wizard to accelerate a sync-definition. Fine-tuning of the raw
queries can be done in the Access-Query-designer and eventually VBA can
be used for specialized datatype transformations . Statistical logging
of additions, modifications or deletes is done and
field-transaction-logging is an option for analysis with or without
writing the record-changes.
The user-interface and helpfiles are still written in dutch, but if you
are really interested I could make an english version as well.
The SQL- and VBA-performance is so good that I rejected the plan to
make a compiled VB6-version for the synchronizer-modules. More than
1000 record-modifications in Oracle throug a network-connection for a
very complex query (15 tables in 3 heterogenous databases) and a VBA
soundex-function processing 1 column in 12000 rows with 18 other
columns in 2 minutes was much better than I ever expected.
I use the tool now for more than five years for a few unatteded
sync-operations and still develop features to make it as generic and
powerful as possible based on the underlying jet/dao/odbc-technology.
Other nice aspects are:
* the end-to-end on the fly modification approach without import/export
files or transaction logs.
* the optimistic locking (busy ? next time I try again, no direct
interference)
* the powerful datamodel-transformation possiblities throuh SQL to
support very different systems involving commmon or translatable
data-content.

Depending on the involved data there are possibilities to optimize
daily updates effectively by filtering out data on a date provided by
the Head-office to be able to resynchronize a longer period if ever
needed.
Could this be a useful approach ?

Marc

Bob wrote:
I have been asked to modify an existing Access database so that it can
update a MySQL databse in head office from multiple MS Access databases in
branches. The idea is that when the HO database is available then any
changes made in branch will automatically update HO but when HO database is
not available then changes are 'batched' until it is available and then
update. (There is a Virtula Private Network involved in this). The update
is not really time critical so I am thinking along the lines of batching
updates anyway and then trying to send them every few minutes. I figure
that it should be a relatively easy job to write a generalised function that
is called by every form or subform 'on change', 'on delete' or 'on addition'
event (with table name and key field name and value and type of transaction)
which would then keep a record of the info and then send the table/s as
required - possible when a connection is available.

I don't feel too worried about the technical side of this operation but
don't really like re-inventing the wheel and so am wondering if anyone has
generalised code that will do most of what I want to do. Happy to pay a
reasonable commercial price for the software if necessary longs I can us it
in other databases I sell.

PS DO NOT want to use Access Replication!!!! !!

Bob Collinson
Colsoft Pty Ltd
13 Watson Avenue,
Rose Park, SA, Australia

Phone/Fax: International 618 8331 3713 Australia 08 8331 3713


Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2155
by: BijuThomas | last post by:
Complicated - ASP/Security/data transfer/XML doubt In our company Head office we are hosting an intranet server in IIS (Windows 2000) , ASP and Sqlserver back end. We are maintaining our branch accounts at various locations and they are sending monthly reports only. Now we are planning to have a centralised data store at our Head Office so that, all details can be accessed from one place using this intranet.
3
4006
by: Andrew Chanter | last post by:
I have a table containing multiple records per key. eg: 1 | John Smith 1 | Mary Brown 1 | Julie Grey 2 | Danny Pink 2 | Jill White I need to consolidate this into a single record for each key, eg.
1
1444
by: Allan Cammish | last post by:
I have seen some examples of client-side code inside an ActiveX control posting data back to the server in ASP. I have tried the code and it works well. However, I need to see how this is done using ASP.NET & VB.NET 2002 without requiring the .NET Framework to be installed on the client-side browser. I am writing a web-based system in ASP.NET & VB.NET 2002 that has to use a VB6 ActiveX control on the client-side to automate Microsoft...
3
9249
by: sridevi | last post by:
Hello How to export data from ms-access database to excel worksheet using ASP. mainly i need to export data to multiple worksheets. it is very urgent to us. i have a sample code which works only exporting to single worksheet. but i need to export data to multiple worksheets. it is very urgent to us. so please help me in code.
1
3612
by: jzhang29 | last post by:
I have a JSP page and it contains a dropdown list called Office. What I try to do is: When I select different office from this list, the information of office (address, phone,etc) will be populated in same JSP page. I have a java bean called officeBean that contains all the office information.
1
1638
by: Dalan | last post by:
Trying to determine the best approach to use in consolating multiple records in an Access 97 Db. The users submit updates in HTML format generated from a query that are in turn imported into a master database. There are 50+/- records each that are submitted by a substantial number of users with each periodic update. The output does include the user ID reference and the date prepared, but as a query has no header, the information is...
0
3733
by: TheCoder | last post by:
I am making a D-base with web conectivity for my class project. I have everything working but the subit button sends the data to the correct fields but afterwards it wants to reproduce new blank text boxes how do I stop this and how would I code it to redirect to a thank you page. All with out the help of a web server this has to br ran from the desktop and with in IE with a local directory. Pleas help I am stuck. here is the code! ...
1
1822
by: GPD | last post by:
I thought I had done this before but cant see a way how. Am sure I once opened a table and amended some data. Anyone know if possible or how, any permissions needed from 10G EM. PS I know I can view the data. I want to amend a few values thats all. Normally use toad but am on a 64 bit server. Hence no free toad.
2
2051
by: manugm1987 | last post by:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <style type="text/css"><!-- span.cls_002{font-family:Times,serif;font-size:12px;color:rgb(0,0,0);font-weight:normal;font-style:normal} div.cls_002{font-family:Times,serif;font-size:12px;color:rgb(0,0,0);font-weight:normal;font-style:normal} span.cls_004{font-family:Times,serif;font-size:11px;color:rgb(0,0,0);font-weight:normal;font-style:normal}
0
9673
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9522
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10448
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10217
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10167
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7544
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5566
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4114
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 we have to send another system
3
2922
bsmnconsultancy
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.