# Re: VB 5.0 vs VF 5.0 Database

Posted by 王健祥 on March 11, 1999 at 12:12:31:

In Reply to: VB 5.0 vs VF 5.0 Database posted by Michael on March 11, 1999 at 00:11:48:

: 最进想尝试连结 Visual Foxpro 的 database 但都连不上, 不知与连结 Access 有何不同?

dim db as database
dim dt as recordset

function Open_Database()
set db=opendatabase("C:\TEST\",false,false,"FoxPro 2.6;")
set dt=db.openrecordset("user1.dbf",dbopendynaset)
end function

Follow Ups: