Solved

update data in the other pc

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Controlling which port to download from 4 71
VB6 add a minute to the date time value 8 63
Run code from text file in vb 1 57
Spell Check in VB6 13 99
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

895 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

14 Experts available now in Live!

Get 1:1 Help Now