General information
Category:
Database DAO/RDO/ODBC/ADO
Title:
Open VFP 5.0 Database directly in VB5
Hi all,
I'm trying to open a Visual Foxpro 5.0 database in Vb 5.0
and I get this error message " Data type conversion error".
Meanwhile I'm able to open a foxpro 2.6 free table table using similar code.
Here a samlpe code;
Dim db1 As Database, rstsupl As Recordset
Set db1 = OpenDatabase ("c:\POS\DATA\data1", "FoxPro 5.0;")
Set rstsupl = db1.OpenRecordset("supllier")
supllier is a table in database data1.
I'll appreciate some help.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only