pass the values

I created a form with data source .
By using EDT Relation I am selecting the values like emlid EDT;
My requirement is,
I want to pass that value that form to other form by using class how is it possible