You might consider inserting all your variables into a container and then using the parmObject function of Args class to pass them.
Also, you might create the methods returning the needed variables, or, again, just one method returning a container on one form, and call this method in the other (but you need to know the args.caller() to be your first form)
Comments
http://www.mibuso.com/howtoinfo.asp?FileID=9&Type=howto
EDIT Oops; axapta post :oops:
Also, you might create the methods returning the needed variables, or, again, just one method returning a container on one form, and call this method in the other (but you need to know the args.caller() to be your first form)
About using ARGS you can read in the developer's guide, or follow this link:
http://www.mibuso.com/forum/viewtopic.php?t=11906
My blog - http://kashperuk.blogspot.com
MorphX IT in Russian - http://www.lulu.com/content/723888
Inside Dynamics AX 4.0 in Russian - http://www.ozon.ru/context/detail/id/3714582