I am using the following code to read data from a RDC request.
All works great, but I need to "catch" the NULL record field and action as per comments in below code:
All works great, but I need to "catch" the NULL record field and action as per comments in below code:
B4X:
If result.Tag = "check_ads" Then 'query tag
ProgressDialogHide
For Each records() As Object In result.Rows
'******** I NEED TO CATCH NULL "id" RECORD HERE
' IF "id" RECORD IS NULL THEN EXIT ACTIVITY
' IF "id" RECORD NOT NULL CONTINUE
Dim AdID As String = records(result.Columns.Get("id"))
Dim AdType As String = records(result.Columns.Get("option"))