A form is a class. If you create Let and Get variables it will work. Also a global variable will work. There are several more ways to do this. Try these first.
Another option is to use the openargs of the openform command. I remember doing that somewhere in the past.
If you need to pass multiple parameters, write a little parser for it.