Yes you can !
open form1 from form0
stropenArg="test"
DoCmd.OpenForm "form1", , , , , , stropenArg
get openArg from form1
if Me.OpenArgs ="test" then
'do stuff
end if
Other solution are to use functions, or global variables (usually not recommended).