Solved

Connecting to a dBASE database using CODE

Posted on 1998-08-18
1
195 Views
Last Modified: 2013-11-24
Hi there,

I just want to ask how can i connect to dBASE using codes.

thanks in advance!

brandon
0
Comment
Question by:bmaranan
[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
 

Accepted Solution

by:
hansbos earned 10 total points
ID: 1429516
Bmaranan,

Dim dbDatabase as Database
Dim recDbf as RecordSet
Set dbDatabase = OpenDatabase("c:\dir", False, True, "dBase III;")
Set recDbf = dbDatabase.OpenRecordset("file.dbf", dbOpenTable, dbReadOnly)
recDbf.MoveFirst
Do While Not recDbf.EOF
 'put code here
 recDbf.MoveNext
Loop
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 - Convert HH:MM into Decimal 8 76
RUNRMTCMD from AS/400 13 130
How do i de-activate my Visual Studio 2012 Professional license 3 70
SCOM logon account permissions? 1 40
Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

739 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