Solved

update data in the other pc

Posted on 2002-06-26
3
131 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
Comment Utility
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 50 total points
Comment Utility
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
Comment Utility
yes.. we used timer in doing our job...
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now