Hi all, I have a mdb with a query called ReportQ, it has 2 columns namely Tel2 and Sum Of knowledge and the querry looks like this:
Tel2 ...... Sum of Knowledge
1.............. ... 100
2.............. ... 325
3 ............... .. 243
etc.
Please could someone check my code to see where i have gone wrong as my result gives "false" as the answer.
All I want is to lookup in the query (ReportQ in mdb)
where Tel2 = 1 to give me the result of 100
or Tel2 = 2 to give me 325
etc.
VB6 Code :
mthrep.TextArra y(8) = Adodc1.RecordSo urce = "Select * From ReportQ Where Sum Of Knowledge LIKE Tel2 = 1"
Thanks so much
Werner
Tel2 ...... Sum of Knowledge
1.............. ... 100
2.............. ... 325
3 ............... .. 243
etc.
Please could someone check my code to see where i have gone wrong as my result gives "false" as the answer.
All I want is to lookup in the query (ReportQ in mdb)
where Tel2 = 1 to give me the result of 100
or Tel2 = 2 to give me 325
etc.
VB6 Code :
mthrep.TextArra y(8) = Adodc1.RecordSo urce = "Select * From ReportQ Where Sum Of Knowledge LIKE Tel2 = 1"
Thanks so much
Werner
Comment