Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Multiuser Application using DBASE as database

Posted on 1998-08-24
1
Medium Priority
?
323 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
JayMerritt earned 200 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

715 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