Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with 'NULLs' read into a in a recordset

Status
Not open for further replies.

Dougpeplow

Programmer
Feb 1, 2000
57
FR
I am using VB5 to open an excel s/sheet and read data into a recordset (myset = db.openrecordset etc....).
The data in the s/sheet is in a prescribed format, using first few columns as text, the remainder as numbers. The first 'record' can be at any row, and there is no header row.
the problem I have is that in order to capture the data I must always start to read from the first row. This may be full of NULLs and recordset that I create doesn't seem to be automatically able to detect the values , text or numeric in the subsequent, populated rows.
Is there a way of formatting the recordset to expect the right data type from Excel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top