D
Dale
I am trying to figure out how to make several subform fields autopopulate
from what I enter into a top field. For example, in the main form I have a
few fields and one of them is a date field. When I enter a date in the date
field I want all of the subforms to populate this date in their respective
date field. As I have it now if I manually click on an option in each of the
subforms so that the subform becomes the active control it will autopopulate
that date field because I have placed in each form under the On Dirty section
the following code:
If Me.NewRecord Then
Me!kDate = Me.Parent!Txt64
End If
kDate is the date field in each of the subforms and Txt64 is the unbound
field in the main form where a user enters the date. I want it now so that
when they enter the date in the Txt64 field and hit enter or whatever it then
populates each subform with that date instead of them having to manually
click on each subform section to make it populate. How can I do this?
Thanks
from what I enter into a top field. For example, in the main form I have a
few fields and one of them is a date field. When I enter a date in the date
field I want all of the subforms to populate this date in their respective
date field. As I have it now if I manually click on an option in each of the
subforms so that the subform becomes the active control it will autopopulate
that date field because I have placed in each form under the On Dirty section
the following code:
If Me.NewRecord Then
Me!kDate = Me.Parent!Txt64
End If
kDate is the date field in each of the subforms and Txt64 is the unbound
field in the main form where a user enters the date. I want it now so that
when they enter the date in the Txt64 field and hit enter or whatever it then
populates each subform with that date instead of them having to manually
click on each subform section to make it populate. How can I do this?
Thanks