A
Alan Z. Scharf
1. I have parent form showing one record at a time, and a detail subform in
datasheet view. The two forms are linked by ContactID.
2. If I move to subform before saving changes made in parent form, the
parent form apparently requeries and goes back o the first alphabetical Last
name. Underlying parent form query is sorted by LastName, FirstName.
3. If I save changes in parent form before going to subform, this does not
happen.
4. If I call my save routine after each field's On Exit event, form saves
when I leave any field and move to subform.
However, I don't want to save after exiting each field, only when leave
parent form.
4. How can I save record when the cursor leaves the parent form and touches
the subform. I tried using the parent Form's LostFocus, OnDirty, and
DeActivate events, but that doesn't work. No error messages, just doesn't
save.
Thanks for any help.
Alan
datasheet view. The two forms are linked by ContactID.
2. If I move to subform before saving changes made in parent form, the
parent form apparently requeries and goes back o the first alphabetical Last
name. Underlying parent form query is sorted by LastName, FirstName.
3. If I save changes in parent form before going to subform, this does not
happen.
4. If I call my save routine after each field's On Exit event, form saves
when I leave any field and move to subform.
However, I don't want to save after exiting each field, only when leave
parent form.
4. How can I save record when the cursor leaves the parent form and touches
the subform. I tried using the parent Form's LostFocus, OnDirty, and
DeActivate events, but that doesn't work. No error messages, just doesn't
save.
Thanks for any help.
Alan