[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

Urgent : Opening the database(Foxpro)

I want to access the foxpro database. Please give me the source code specifing where I will be mentioning the datbase name?
0
sirigere
Asked:
sirigere
  • 2
1 Solution
 
dirtdartCommented:
Set db = Workspaces(0).OpenDatabase("C:\Databases\", False, False, "FoxPro 3.0;")
Set rs = db.OpenRecordset("MyData.dbf")

0
 
sirigereAuthor Commented:
Please give me the detailed source code(to access a recore in a table) it is really helpfull to me.
regards

0
 
dirtdartCommented:
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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now