A
Anthony Sullivan
In classic ADO I was about to simply say:
If not [Recordset].EOF Then
' Do something with the data
End If
Now that I am working with the Dataset object I am finding it a little more
cumbersome to establish whether I have reached the end of my dataset, or if
I have retrieved any data at all. Currently I would do something like this.
I'm sure this is horribly flawed but it's the best I've come up with to this
point.
If [DataSet].tables(0).rows.count > 0 then
' Do something with the data
End If
Anyone know of a better way to do this?
Thanks!
Anthony Sullivan
If not [Recordset].EOF Then
' Do something with the data
End If
Now that I am working with the Dataset object I am finding it a little more
cumbersome to establish whether I have reached the end of my dataset, or if
I have retrieved any data at all. Currently I would do something like this.
I'm sure this is horribly flawed but it's the best I've come up with to this
point.
If [DataSet].tables(0).rows.count > 0 then
' Do something with the data
End If
Anyone know of a better way to do this?
Thanks!
Anthony Sullivan