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

x
?
Solved

Connecting to a dBASE database using CODE

Posted on 1998-08-18
1
Medium Priority
?
199 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 30 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
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…
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
Suggested Courses

721 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