Dim loDT As New OleDbDataAdapter(tcSQL, _ "Provider=VFPOLEDB.1;Data Source=" + tcTable + ";Password='';Collating Sequence=MACHINE") loDT.Fill(loData, "Temp")How can I detect if loDT is in fact a dataset? Because, if the query returns no result, this will generate an error as soon as I try to make a reference to loDT.