I have never run into an error where OldValue is not populated for a form, but now I am.
I have a form that is based upon a query grabbing fields from 2 tables which are inner joined.
Unfortunately, about half of the fields do not have an OldValue but they do have a Value. So I was trying to loop through and compare OldValue to Value, but for these values it says that OldValue is null and that value has a value so my code would write this out as a change.
Unfortunately, I cannot just say that if iserror(oldvalue) then ignore it, because sometimes these fields are the ones with changes.
Has anyone had the same situation? I am in Access 97. Let me know if I am doing something wrong or there is a workaround. I have used this code on many forms, and this is the first one where I am having problems. Plus, this is the first time that I am attached to a form with multiple tables.
I have a form that is based upon a query grabbing fields from 2 tables which are inner joined.
Unfortunately, about half of the fields do not have an OldValue but they do have a Value. So I was trying to loop through and compare OldValue to Value, but for these values it says that OldValue is null and that value has a value so my code would write this out as a change.
Unfortunately, I cannot just say that if iserror(oldvalue) then ignore it, because sometimes these fields are the ones with changes.
Has anyone had the same situation? I am in Access 97. Let me know if I am doing something wrong or there is a workaround. I have used this code on many forms, and this is the first one where I am having problems. Plus, this is the first time that I am attached to a form with multiple tables.