I am using RDO to retrieve data from an Access database. When the data comes back, I need to handle the fact that some fields are 'Null'.

I try to core the following:

If RS1.Fields("SECONDARY_DIE") Is Null Then
txtSECONDARY_DIE.SetFocus
Else
txtSECONDARY_DIE.Text = RS1.Fields("SECONDARY_DIE")
txtSECONDARY_DIE.Locked = True
End If

... and get an error at the first line: 'Object required'. The field is empty and I really don't get what I am doing wrong.

Can anyone help on that ?

Thanks,
Francis