Yes, you can pass the parms from the switchboard - but only if you already know what the values are for both parms.
'start code ------------------
Private Sub BtnName_Click()
Dim strArgs As String
strArgs = "xx" & "|" & "yy"
DoCmd.OpenForm “[FormName]”,,,,,,strArgs
End Sub
'end code...