is Null or not ?

gapi

Active Member
Licensed User
Longtime User
Hi all how can make a IF THEN END IF for null values or not ? My problem are any Cursor1.GetString where any field are null !! In for structure I want know if they are null (don't print) else (print) ^^

tnx :)
 
Last edited:

Roger Garstang

Well-Known Member
Licensed User
Longtime User
I had this same issue the other day and needed to see if a variable in a Tag that stored a view reference was null. I kept having issues and it was coming back as not null even when it was not set to a view. Finally used the IsInitialized like Erel recommends. Still confusing since if not assigned a view it should be null and IsInitialized would/should throw a null pointer error too.
 
Upvote 0
Top