|
|
#1 |
|
Member
Join Date: Jun 00
Location: Hong Kong
Posts: 62
![]() |
Hi,
I used the following code and successfully connect to a FoxPro DBF. Set dbMain = Workspaces(0).OpenDatabase _ ("c:\temp", False, False, "FoxPro 3.0;") Set rsMain = dbMain.OpenRecordset("Select * from dbfFox") Set datCheckLink.Recordset = rsMain all my dbf files are located in c:\temp, but when I open some dbfs other than dbfFox, some of them results in Error 3166: Can't locate the requested Xbase memo file. and some of them Error 3623: Can't access the FoxPro 3.0 bound DBF file "c:\temp\xxx.dbf" I'm using VB 6.0. and all the dbfs can be opened in foxpro 2.6. How come some of them can be viewed with my code while others gave me different errors? Thanks a lot. Andy Cheung
__________________
Please Visit My WebCam!! http://www.hmcheung.com |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|