G
Gary B via AccessMonster.com
I have a problem which is making me tear my hair out. Where I have a form
with a subform, occasionally after a design change, the form will only open
to a new record. Even if the fields are populated (on the parent and child
or any combination) the next time the form opens it will be to a new record
and will refuse to open to a specific record or show any old records. I have
tried deleting all records on the parent and child tables/queries to no
effect. The only way round it is to create a new form. In fact, what I do
now (to avoid unzipping and importing from the last backup) is to keep a
saved copy of all forms with a subform in the database, so that when the
problem hits again, I simply revert to the last copy. I've noticed that it
is more likely to happen if I have made changes to the subform and closed the
parent without saving the form, so that an Access dialogue asks me to save.
Obviously I try and remember to save the form before closing it, but
sometimes, in the heat of frenzied coding, I just forget. Any ideas would be
appreciated.
This happens to me in XP and 2003.
Thanks.
with a subform, occasionally after a design change, the form will only open
to a new record. Even if the fields are populated (on the parent and child
or any combination) the next time the form opens it will be to a new record
and will refuse to open to a specific record or show any old records. I have
tried deleting all records on the parent and child tables/queries to no
effect. The only way round it is to create a new form. In fact, what I do
now (to avoid unzipping and importing from the last backup) is to keep a
saved copy of all forms with a subform in the database, so that when the
problem hits again, I simply revert to the last copy. I've noticed that it
is more likely to happen if I have made changes to the subform and closed the
parent without saving the form, so that an Access dialogue asks me to save.
Obviously I try and remember to save the form before closing it, but
sometimes, in the heat of frenzied coding, I just forget. Any ideas would be
appreciated.
This happens to me in XP and 2003.
Thanks.