Hi.
I have a procedure that has a list of ids in a recordset. I compare each of these ids against an external database table.
However if an id does not exist in the external table i get the error 91 object variable not set error.
If rsWellList.Fields("IDWell").Value = moWVIO.Well(CStr(wellidx)).IDWell.Value Then
it's the right hand side of the condition above that is empty. Anyone any thoughts on how I can work around this?
I have a procedure that has a list of ids in a recordset. I compare each of these ids against an external database table.
However if an id does not exist in the external table i get the error 91 object variable not set error.
If rsWellList.Fields("IDWell").Value = moWVIO.Well(CStr(wellidx)).IDWell.Value Then
it's the right hand side of the condition above that is empty. Anyone any thoughts on how I can work around this?