Someone can help me with this mistake:
the query runs perfectly, but when i run the next line it shows me an error "Type mismatch"

pQuery = "Select PubID, Name, Telephone from Publishers"
ReportWriter.F1Book1.ODBCQuery pQuery, 1, 1, False, True, True, True, False, pRetCode


Tnax