J
Jurek
Hi all,
DataGrid from VB6 in in main form.
I build recordset :
Dim qdf_temp As QueryDef
Set qdf_temp = CurrentDb.CreateQueryDef("", tmpSQLstr)
Dim rs As Recordset
Set rs = qdf_temp.OpenRecordset
If I try
DataGrid.DataSource=rs
I receive message "Type mismatch"
Why ? Where is mistake ?
What is difference when I build recordset which based on DAO or ADO? Is
different internal structure or something another ?
Regards
Jurek
DataGrid from VB6 in in main form.
I build recordset :
Dim qdf_temp As QueryDef
Set qdf_temp = CurrentDb.CreateQueryDef("", tmpSQLstr)
Dim rs As Recordset
Set rs = qdf_temp.OpenRecordset
If I try
DataGrid.DataSource=rs
I receive message "Type mismatch"
Why ? Where is mistake ?
What is difference when I build recordset which based on DAO or ADO? Is
different internal structure or something another ?
Regards
Jurek