Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2003-02-20
2
Medium Priority
?
1,713 Views
Last Modified: 2013-12-12
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?
0
Comment
Question by:joekeri
2 Comments
 
LVL 4

Accepted Solution

by:
stemu2000 earned 75 total points
ID: 7989743
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
 

Expert Comment

by:mody
ID: 7996579
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

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question