How to synchronize two ms access files?
I am using one Ms access file (access 2007 accdb file) in my
system. the same file i have given it to another section for
data entry. every day data entry is being done in that
section and i am making reports in my access file. how do i
synchronize both file because i need to update data entries
from that system and update my new reports to that system.
Plz help me how to do that? Network is not available between
these systems and things can be done via storage devices only.
Answer / Mritunjay Kumar
One approach to synchronizing Access databases without a network connection is by using the Access Compact Database (MDA) format. Here's an outline of the steps:nn1. Create a backup of both databases in MDB format.n2. Export the data from the first database (the main one) to an MDA file, using the following SQL query: `SELECT * INTO TABLE [TableName] FROM [TableName];`n3. Transfer the MDA file to the second database location.n4. Import the data from the MDA file into the second database's main table, using the following VBA script:n```vbanPublic Sub ImportMDA()n Dim db As DAO.Databasen Dim rs As DAO.Recordsetn Set db = OpenDatabase("pathtomdafile.mdb")n Set rs = db.OpenRecordset("TableName", dbOpenDynaset)nn ' Loop through all records in the MDA file and import them into the main tablen Do Until rs.EOFn rs.MoveNextnLoopnn db.Closen Set rs = Nothingn Set db = NothingnEnd Subn```
| Is This Answer Correct ? | 0 Yes | 0 No |
What is UNIX?
1 Answers Accenture, Reliance,
how Wsus work ? and how the clients are updated automatically?
What is USB (Universal Serial Bus) ?
Shortcut keys for debugging in visual studio?
What is microsoft's web browser?
can u tel me how we can use temp table in sql sserver instead of Dual in oracle?
What is Attached property?
What is DHCP (Dynamic Host Configuration Protocol)
What is Domain. ?
What is mfc?
What is Kerberos? Which version is currently used by Windows? How does Kerberos work?
What is microsoft exchange used for?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)