Of course - sorry! I get a runtime error 3634 'Data type mismatch in criteria expression'
Just in case it's useful, I have also used the code below which opens the form but at a blank record.
'Private Sub CustomerDetails_Click()
'DoCmd.OpenForm "Customer Details", acNormal, , "[Company]='"...