If you are using DoCmd.OpenForm, you can use the OpenArgs paramater to pass a formatted string containing the field name and value:
strValues = "ID=42|Name=Fred Flintstone"
DoCmd.OpenForm "frmCustProf",,,,,,strValues
...
'frmCustProf code module
Dim...