W
wk6pack
Hi,
How do I check datatable.select(filter) in the following:
for each dtrow in datatable.select(filter)
....
next
I've also tried:
if not (datatable.select(filter) is nothing) then
for each dtrow in datable.select(filter)
.....
next
end if
but it gets an exception in my catch.
I get an error when the select doesnt find any rows to return. How can I
chech for this or is there a property to use?
Basically, if the select doesnt find any rows, then I want to do something
else.
thanks,
Will
How do I check datatable.select(filter) in the following:
for each dtrow in datatable.select(filter)
....
next
I've also tried:
if not (datatable.select(filter) is nothing) then
for each dtrow in datable.select(filter)
.....
next
end if
but it gets an exception in my catch.
I get an error when the select doesnt find any rows to return. How can I
chech for this or is there a property to use?
Basically, if the select doesnt find any rows, then I want to do something
else.
thanks,
Will