"debug.print rs.fields(0) it prints 0". Then in the table, that field is a number field with a default of 0 and there is in fact a record? Because you are examining the value in a field with that statement. If the output is "0" then you have that as a value in that field somewhere. Examine all the fields in the recordset or run the query it's based on and check that. Also possible that you allow zero length ("") in a field and have a record with one or more fields with zls as a value. You can always run a query on those fields where myField = "" and see how many records you get.
The logical conclusion is that you have at least one record, regardless of what you think you're seeing.
Last edited by Micron; 03-27-2019 at 10:16 AM.
Reason: clarification
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.