I am working with VB6 and Access. I am using ADODB. when i set a reordset and run a sql query then how do i check if the query has fetched some result or no??
eg. I have a query as follows:
rs.open "SELECT * FROM Invoice_Master WHERE Inv_No=" & val(txtInvNo.te xt) & "",con,3,3
and now i wish to know if the invoice no mentioned in the textbox was found in the table or no then how do i do that??
eg. I have a query as follows:
rs.open "SELECT * FROM Invoice_Master WHERE Inv_No=" & val(txtInvNo.te xt) & "",con,3,3
and now i wish to know if the invoice no mentioned in the textbox was found in the table or no then how do i do that??
Comment