K
Krae
Hello,
I have two forms in one form. 1 - main form 2 - subform
Both are 1 to many relationship
If you are in first record of the form. You type the
date in the main form - note_date field. For example,
you put 11/1/03.
I start to add info in the subform inside the main form.
The subform has the note_date field too. You type
11/2/03 in the subform. Once you leave the note_date
field after you put date 11/2/03. I expect the main
form - note_date is updated automatically.
If you go to second record in subform and you put 11/4/03
in the note_date of the subform then I expect the
note_date in the main form is updated automatically too.
How can I write the code in note_date field in the
subform to update the note_date in the main form?
Maybe use "afterupdate" sub?
Thanks,
Krae
I have two forms in one form. 1 - main form 2 - subform
Both are 1 to many relationship
If you are in first record of the form. You type the
date in the main form - note_date field. For example,
you put 11/1/03.
I start to add info in the subform inside the main form.
The subform has the note_date field too. You type
11/2/03 in the subform. Once you leave the note_date
field after you put date 11/2/03. I expect the main
form - note_date is updated automatically.
If you go to second record in subform and you put 11/4/03
in the note_date of the subform then I expect the
note_date in the main form is updated automatically too.
How can I write the code in note_date field in the
subform to update the note_date in the main form?
Maybe use "afterupdate" sub?
Thanks,
Krae