W
Walter
I have a details subform in continuous view. I have code to set the default
value of combo2 after updating combo1. When testing the code, combo2 default
value was set correctly, however it was set in a new record, not the current
record. What's going on?
Here's my code:
Me.DeliveringDriver.DefaultValue = _
DLookup("DriverID", "tblDrivers", "AssignedTruck = '" &
Me.DeliveringTruck & "'")
value of combo2 after updating combo1. When testing the code, combo2 default
value was set correctly, however it was set in a new record, not the current
record. What's going on?
Here's my code:
Me.DeliveringDriver.DefaultValue = _
DLookup("DriverID", "tblDrivers", "AssignedTruck = '" &
Me.DeliveringTruck & "'")