I have a string compare problem. I am basically doing this:
MyVar = ""
.... Pulling SQL Data (from MS Access)
MyVar = SQLField (Data field is NULL)
if MyVar = "" then <-- Doesn't work
if len(MyVar) = 0 <--- Doesn't work
if "X" & MyVar = "X" <-- Works
Any Ideas how I can get one of the first 2 to work?
MyVar = ""
.... Pulling SQL Data (from MS Access)
MyVar = SQLField (Data field is NULL)
if MyVar = "" then <-- Doesn't work
if len(MyVar) = 0 <--- Doesn't work
if "X" & MyVar = "X" <-- Works
Any Ideas how I can get one of the first 2 to work?