I am trying to test 2 sql statements to see which has a value first and put it onto the worksheet
The main problem is that sSQL sometimes has no matches and there is null, but for some reason the if statement doesn't work at all. either that or the rs.fields(0).value doesn't even exist so it cannot even be null.Please Login or Register to view this content.
Bookmarks