hi
years ago i made a program using openrecordset etc... on VB5 and i got no problem.
now i'm using VB6 and there's no way to use OPENRECORDSET without lots of errors
Last one : incompatible type
please help before i'm crazy (should i open a data object before, or create a workspace or... ?)
here's my code:
Dim rstT1 As Recordset
Dim db As Database
Dim strCriteria As String
Set db = OpenDatabase("bd1.mdb"
strCriteria = "SELECT * FROM snack"
Set rstT1 = dbs.OpenRecordset(strCriteria)
thanks a lot for your help
rom the french programmer in danger
years ago i made a program using openrecordset etc... on VB5 and i got no problem.
now i'm using VB6 and there's no way to use OPENRECORDSET without lots of errors
Last one : incompatible type
please help before i'm crazy (should i open a data object before, or create a workspace or... ?)
here's my code:
Dim rstT1 As Recordset
Dim db As Database
Dim strCriteria As String
Set db = OpenDatabase("bd1.mdb"
strCriteria = "SELECT * FROM snack"
Set rstT1 = dbs.OpenRecordset(strCriteria)
thanks a lot for your help
rom the french programmer in danger