I have a main and a sub form that I am working with. I have a date field on the main form that I want to be displayed on the subform without the user having to enter it for each subform line. I have coded the "Oncurrent" event for the subform with:
If Me.Newrecord then
Me.Date=[Forms]![Mainform]![Date]
End If
This obviously works only when a new recored is entered. The date for the first record in the subform is null. What am I missing that I should I do to populate the first record automatically?
If Me.Newrecord then
Me.Date=[Forms]![Mainform]![Date]
End If
This obviously works only when a new recored is entered. The date for the first record in the subform is null. What am I missing that I should I do to populate the first record automatically?