I have a variant I am using to hold my recordset data.
Dim HolidayList
HolidayList = SqlRs.GetRows
lastRow = UBound(HolidayList, 2)
This works fine. But I want to be able to clear HolidayList. I tried setting it to NULL and "" and both give me an error when I try to do the "UBound" statement.
What I want is for it to return either a 0 or a Null, if possible.
Thanks,
Tom.
Dim HolidayList
HolidayList = SqlRs.GetRows
lastRow = UBound(HolidayList, 2)
This works fine. But I want to be able to clear HolidayList. I tried setting it to NULL and "" and both give me an error when I try to do the "UBound" statement.
What I want is for it to return either a 0 or a Null, if possible.
Thanks,
Tom.