Solved

update data in the other pc

Posted on 2002-06-26
3
133 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 50 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

777 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