DAO VB5-VB6 
Author Message
 DAO VB5-VB6

I have this code:
......
 With dClienti
        .DatabaseName = App.Path & "\ECM.mdb"
        .RecordSource = "select * from Clienti where ( cod_client = " &
str(fMainForm.dListAllClienti.Recordset![cod client]) & " )"
        .Refresh

......
where dClienti it is a DATA control.
Why this is working in VB5 but in VB6 crash with Runtime error '13' Type
mismatch (in ".Refresh" line)?

Florin.                



Tue, 23 Apr 2002 03:00:00 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. VB5 vs VB6, DAO vs ADO?

2. Wild cards in SQL: vb6 ADO versus vb5 DAO

3. VB5 DAO - VB6 ??

4. DAO VB6-VB5

5. DAO synthax in VB6 VS VB5

6. DAO conflicts between Vb5 and Vb6

7. Please help - DAO, ADO, VB5 & VB6

8. From VB5 to VB6 sp 4 with DAO 3.6

9. update from VB3 to VB5 or VB6 fails on DAO 2,5 Object library

10. DAO 2.5 to DAO 3.5 and Access 2.0 to Access 97 Answers and Questions (VB5)

11. Assigning a Dao.Recordset to a Datacontrol With VB6 SP4 and Dao.360

12. DAO 3.6 vs DAO 3.5 (VB6.0 sp3)


 
Powered by phpBB® Forum Software