Solved

Multiuser Application using DBASE as database

Posted on 1998-08-24
1
307 Views
Last Modified: 2013-11-24
Any body can help me.

I want to developed a multiuser application with Dbase as database, i just want to know how can i lock the record in the Dbase database like in Clipper. Can u give me a sample code. What i really want is to make a program that will allow 10 simultaneous user to add, edit the Dbase Database simultanoeusly.

any comments or suggestion.

thanks in advance.

spritep
0
Comment
Question by:spritep
1 Comment
 
LVL 1

Accepted Solution

by:
JayMerritt earned 100 total points
ID: 1430793
VB will utilize the JET engine to translate the DBF files.  The term VB and Access (JET) use is ISAM file.

JET will handle all of the record locking for you.

The following is some code I pulled out of an archive from a VB 3 app.  Once the table is open, then you can manipulate it with the standard DAO methods like .AddNew, .Edit, .Update.


 Dim xdb As Database
 Dim tbl As Table

 Set xdb = OpenDatabase("C:\dBase\Data", False, False, "FoxPro 2.5;")
 Set tbl = xdb.OpenTable("MyFile.dbf")


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
A macro to Count the number of rows across all worksheets 3 80
Passing a TempVar to a Combo box form 3 83
Add and format columns in vb6 7 46
Child Form in front 4 37
Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.

911 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

22 Experts available now in Live!

Get 1:1 Help Now