Let's say you're passing the Record ID from the first form into the second form.
Typically, you can simply use Val(OpenArgs) to convert the string value to a numeric value. There are other data type conversion functions like CStr(), CDbl(), CInt(), etc. etc. etc.
Also look up the Nz() function. This allows you to convert a Null to another value, or to zero by default.
example:
A Record ID (long) was passed through the OpenArgs. Since it is a String it needs to be converted to Long, but it might also be a Null value. So, remembering back in high school compound functions....we can combine several functions together.
=CLng(Nz(OpenArgs,0))
Hope this helps.