If you where using a Search Form with the Serial Number then From with the data could be opened with just one Where Condition.
Function Search_UnitSerial()
With CodeContextObject
DoCmd.OpenForm "Data Form", acNormal, "", "UnitSerial = '" & .[SearchValue] & "'", acFormEdit...