I have two extracted data tables: dt_1 and dt_2
Based on certain conditions, sometimes one (or both) of the tables will (intentionally) not be extracted by my script.
I’d like to write some IF statements based on whether dt_1 or dt_2 exists.
IF dt_1 exists and dt_2 exists Then
Do some stuf
If dt_1 does not exist and dt_2 does exist Then
Do different stuff
Do you know how I could structure that; currently I have
If dt_1 is not nothing AND dt_2 is not nothing Then
But, this doesn’t work, it always returns true even if there’s no dt_2.
Do you know what I could be doing wrong here?