Version 2018.4.1 - DataTable variable
Carefully examine your code at the reported error location for two variables with the same name (but different scopes).
In my case, I had two datatable variables with the same name (ServOrd) and overlapping scope at the location of the error. I initialized and assigned ServOrd.Scope1 and later referenced ServOrd.Scope2.