I have used this process many times before but I'm can't get this to work
main form:
(button click event) ...
strSexVal = 2
DoCmd.RunCommand acCmdSaveRecord
DoCmd.OpenForm "frmPetDetails2", acNormal, , , acFormAdd, , Me!PetID & "|" & strSexVal
frmPetDetails2 form:
Private Sub...