G
Guest
Good Morning,
I want to use the currently entered value to prefill the next new record.
On the afterupdate event of the Text box formatted as ShortDate I have the
following code:
If (Not IsNull(Me.EventDate)) Then
Me.EventDate.DefaultValue = Me.EventDate
End If
I have also tried:
If (Not IsNull(Me.EventDate)) Then
Me.EventDate.DefaultValue = """" & Me.EventCallDate & """"
End If
Either way, I get the following result:
Enter 2/1/2005, go to a new record, and the value shows as 12/30/1899
On a combo box, I was unsuccessfully trying to do the same thing with the
employee ID:
If (Not IsNull(Me.ID)) Then
Me.ID.DefaultValue = Me.ID
End If
I have also tried this version with the quotes and ampersands. Both result
in a blank value when I go to a new record.
I would appreciate any support
Thanks in advance
I want to use the currently entered value to prefill the next new record.
On the afterupdate event of the Text box formatted as ShortDate I have the
following code:
If (Not IsNull(Me.EventDate)) Then
Me.EventDate.DefaultValue = Me.EventDate
End If
I have also tried:
If (Not IsNull(Me.EventDate)) Then
Me.EventDate.DefaultValue = """" & Me.EventCallDate & """"
End If
Either way, I get the following result:
Enter 2/1/2005, go to a new record, and the value shows as 12/30/1899
On a combo box, I was unsuccessfully trying to do the same thing with the
employee ID:
If (Not IsNull(Me.ID)) Then
Me.ID.DefaultValue = Me.ID
End If
I have also tried this version with the quotes and ampersands. Both result
in a blank value when I go to a new record.
I would appreciate any support
Thanks in advance