Sometimes when I have a field that has #Error such as a divide by 0, is there a way to perform an isError() or something similar? Sometimes it’s not always clear when a mistake has been made, which means I have to go back through a bunch of queries to find where some div/0 error has taken place, since usually the errors occur silently. I’d like to be able to explicitly look for #Iserror so I can locate it when it occurs.
e.g. SELECT sourcetable.fieldname INTO desttable IN '\\path\database.mdb'FROM sourcetable;
For division by zero, you should be trapping in a different way ( http://office.microsoft.com/en-us/access-help/avoiding-divide-by-zero-errors-in-access-HA001055073.aspx )
It is not unusual to use IsError with a reference to a subform: