D
dev
Hi All,
I use ADO to open a Excel file using Jet OLEDB Provider.
I have one issue in getting the recordcount.
I open a excel sheet in ADO recordset
I have a Excel that can contain many sheets. I open a excel sheet
using ADO recordset, like
rst.Open ("select * from [Sheet1$]", conn);
Assume , The excel sheet "Sheet1" contain only Column headers and no
data rows.
If I open the excel sheet, the recordset rst shows a recordcount > 0
(it actually showed recordcount as 30) and the EOF property is also
false.
Any idea ?
Thanks in advance
Dev
I use ADO to open a Excel file using Jet OLEDB Provider.
I have one issue in getting the recordcount.
I open a excel sheet in ADO recordset
I have a Excel that can contain many sheets. I open a excel sheet
using ADO recordset, like
rst.Open ("select * from [Sheet1$]", conn);
Assume , The excel sheet "Sheet1" contain only Column headers and no
data rows.
If I open the excel sheet, the recordset rst shows a recordcount > 0
(it actually showed recordcount as 30) and the EOF property is also
false.
Any idea ?
Thanks in advance
Dev