dim rst as ADODB.Recordset
set rst = new ADODB.Recordset
rst.open select field1,field2 from table
rst.Filter = "(field1 = 100)" it works!
rst.Filter = "(field2 = 2 or field2 = 3)" it also works!
but it doesnt work:
rst.Filter = "(field1 = 100) and (field2 = 2 or field2 = 3)"
//Error: wrong type or conflict between parameters..
WHY?? plz help!!
set rst = new ADODB.Recordset
rst.open select field1,field2 from table
rst.Filter = "(field1 = 100)" it works!
rst.Filter = "(field2 = 2 or field2 = 3)" it also works!
but it doesnt work:
rst.Filter = "(field1 = 100) and (field2 = 2 or field2 = 3)"
//Error: wrong type or conflict between parameters..
WHY?? plz help!!