FORMS 6i- how do I pass values from one form to another

I have two forms:  FORM1   does a call_form to FORM2.

What i want to do is to pass a value called V1 that was calculated in FORM1 over to FORM2.


HOW DO I PASS VALUES BETWEEN FORMS?
joekeriAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

stemu2000Commented:
you have to use paramlists:


PROCEDURE RunForm IS
  pl_id ParamList;
BEGIN
  pl_id := Get_Parameter_List('tmpdata');
  IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
  END IF;
  pl_id := Create_Parameter_List('tmpdata');
  Add_Parameter(pl_id, 'P_V1', TEXT_PARAMETER, v1);
  CALL_FORM('MYFORMNAME',
              hide,
              no_replace,
              no_query_only,
              pl_id);
END;




Cheers, Stefan
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
modyCommented:
i agree with Stemu2000 ,and u can in form1 set global varicable say v:
(in form1 any area of code)
:global.v:=<certain_value>
and when u use call form
form2 will see this global variable
form2
x:=:global.v;
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.