Solved

Urgent : Opening the database(Foxpro)

Posted on 1998-06-27
3
164 Views
Last Modified: 2010-05-03
I want to access the foxpro database. Please give me the source code specifing where I will be mentioning the datbase name?
0
Comment
Question by:sirigere
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
dirtdart earned 20 total points
ID: 1464451
Set db = Workspaces(0).OpenDatabase("C:\Databases\", False, False, "FoxPro 3.0;")
Set rs = db.OpenRecordset("MyData.dbf")

0
 
LVL 1

Author Comment

by:sirigere
ID: 1464452
Please give me the detailed source code(to access a recore in a table) it is really helpfull to me.
regards

0
 
LVL 5

Expert Comment

by:dirtdart
ID: 1464453
Well, the above is the source for opening the database.  For the rest of it, try checking out http://www.cynetcity.com/cyberzone/207 and look under DAO.  There is a complete explination there.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

821 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