?
Solved

update data in the other pc

Posted on 2002-06-26
3
Medium Priority
?
140 Views
Last Modified: 2010-05-02
i have a program in vb. and we are using windows nt 4.0
the other pc is using my program and i am using it to. we are only using msaccess.. What will i do if i want that all the changes i made in my table be reflected to the other pc. without using sql server or odbc?
0
Comment
Question by:aerokevs
3 Comments
 
LVL 43

Expert Comment

by:TimCottee
ID: 7110838
You simply need to make sure that the database is placed somewhere that both computers can access it. This can be achieved either by placing it on a file server or by sharing a folder on one machine and keeping it there. You then need to ensure that you set the appropriate path to the database in your application. This can most easily be achieved by running the application from the same folder as the database and using App.Path & "\MyDatabase.mdb" as the database name in whatever OpenDatabase/Connection.Open or similar statements you are using.
0
 
LVL 12

Accepted Solution

by:
Alfredo Luis Torres Serrano earned 200 total points
ID: 7111144
Every time you open a recordset in your program will be useful to refresh that recordset to let the other pc´s look the changes at the table.

Hope this help
0
 

Author Comment

by:aerokevs
ID: 7190398
yes.. we used timer in doing our job...
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question