Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Passing parameters between forms

Passing parameters between forms

Passing parameters between forms

How can I pass parameters between Form(table) and Master-Detail form?
I think about two solutions but I don't know how to do it.
1- Can I use Global variables?
2- In p_arg_values, can I pass the content of a variable?

RE: Passing parameters between forms

this is a big question Is there anyone know how to do it

RE: Passing parameters between forms

sorry I thought you want them on a single page if you want them in different page you can use the call method in the success event of your form (edit your form then click on the form item and scroll down its properties and write the success procedure) then you can use the p_arg_names and p_arg_values like


or use the default format specified when u fst create a frame driver anyway u can use the call and go methods to accomplish this. these methods are only available at the success form event.

RE: Passing parameters between forms

This is what I did:

Create a button on your origin form.
Create a link to the destination form.

Choose the custom PL/SQL event for the button and enter some code like this:

l_url varchar2(2000);
v_comp_id number :=p_session.get_value_as_number
    ( p_block_name =>'DEFAULT'
    , p_attribute_name=>'A_COMP_ID');
l_url := PORTAL.wwv_user_utilities.get_url('COMPONENT_PORTAL.EDIT_COMP_LK', 'COMP_ID', v_COMP_ID, '_COMP_ID_cond', '=');


First the user must pull up a record in the origin form, then when they click the button, it sends the page to the destination form pulling up a record based on the parameter you passed.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close