Solved

Multiuser Application using DBASE as database

Posted on 1998-08-24
1
311 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sending a email via excel using vba 6 98
Excel To Access Database Transfer 14 75
User Authentication using Digital Certificate 2 60
Problem to line 23 55
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

828 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