Solved

Urgent : Opening the database(Foxpro)

Posted on 1998-06-27
3
161 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now