Copy the value of the item to another page of the apex in a field

I have a main table and adds a new button.

In my master table, there is a client code.

If I press this button again, I will be referred to another form on another page where I can create log files.

For the moment, I have to insert the client code in this form.

How is it possible to copy the customer ID, if I press the new button in the main table, if this customer code (value) will be copied

in another article on my other page?

Hello

What version of APEX are you using?

Solution for this should be simple.

Just edit the button element. Assign it "Action when the button is clicked" "redirect to the page of this application.

"Then set: Set on these elements ' with the name of the target element and the 'with these values" with the name of the source element.

The same works also for reports. But instead of the nom_element, you must add the column name as: #COLUMN_NAME # for 'with these values.

Concerning

J

Tags: Database

Similar Questions

  • Pass the value of the item to another page of link

    Dear,

    I would like to pass a value of item to another page.
    I use:
    http://xxxxx:7777/pls/apex/f?p=200:46:80254239052108::NO::P46_TEST,P46_TABLE:#LABEL#,&P56_HW
    # is wel #label moves to the next page but no P56_HW.

    Could someone help me?

    THX.

    Celio

    Hello

    You are missing the point in the end, it should be & P56_HW. (with the full stop), which is part of the syntax of substitution.

    See you soon

    Ben

  • passing the value of the item to another page

    Hello!

    I have a few questions while passing the value of the item to another presentation page and page refreshes.

    I have a page (page n ° 2) with more areas where users can fill data in some articles (text box, popups,...), then I have a region report report and button to enter a new item. When users, click the button is it redirects to another page (page no. 21), where the user enters the values to other elements (popup, text box,...) then I have 3 buttons on this page ('Cancel', "create one", "create an and create another") and now I don't know how to handle the button ' create a. Action for the button "create one" I want is that when button "create one" is clicked in a table (in my DB) should be inserted some values of page 2 and certain values on page 21, then users should be redirected to page 2, where you can see everything that you see before the user has clicked 'enter a new element button' (so all the values in the elements of the page 2 must be visible) + in this report in the region must be updated (so you can see the inserted elements on page 21)

    I hope you understand what I mean and you can help me. And sorry again for my English.

    Kind regards
    Dragan

    You can create a collection and use it in this way:

    IF apex_collection.collection_exists ("YOUR_COLLECTION") = TRUE THEN
    apex_collection.delete_collection (p_collection_name-online 'YOUR_COLLECTION');
    END IF;
                             
    apex_collection.create_collection (p_collection_name-online 'YOUR_COLLECTION');

    -Value added to the collection
    apex_collection.add_member ("p_collection_name-online 'YOUR_COLLECTION', p_c001 => ' value to save");

    -get the value of collection
    Select C001 in apex_collections where collection_name = "YOUR_COLLECTION";

    Go through this link to learn more about the collections http://docs.oracle.com/cd/E17556_01/doc/apirefs.40/e15519/apex_collection.htm

    OR

    as you say if its only id you want to perform, then simply create an item hidden in your page 2 =>: P2_ID_SO, then capture the value in your 2 page deal and use it in page 21.

    -Manu

  • Passing the value with coma inside to another page

    Hi all, need your help.

    I have trouble to clarify how to pass value with coma to another page.

    For example, I have a P2_NAME field: with the current value: Test, name

    When I'm passing this on page 3 I get only from Test. I do not understand why, but I do not know how to deceive the APEX?

    var url = ' f? p = & APP_ID.:3: & SESSION.: NO::P2_NAME: "+ $v ('P3_NAME');

    Window.Open (url, "name", "height = 600, width = 800, toolbar = no, directories = no, status = no, menubar = no, scrollbars = no, resizable = no, modal = yes");

    Thank you very much

    Andrei

    Hello

    This might help

    2.5 understanding URL syntax

    List of values of the element used to define the session state in a URL.

    Item values cannot include settlers, but may contain commas with backslashes.

    To change a comma in a value element, place the characters with the backslashes. For example:

    \123,45\

    Kind regards
    Jari

  • Copy the text of form field text box on another page

    Hi all

    I'm designing a document using Muse who, in a wizard-esque fashion, get the user to fill the fields of the form, and then the text entered in form fields is automatically filled fields of text on other pages so that a customized document can be printed.

    However, research, I made, I have not found anything I can use other than using PHP code style but I can't juxtapose that to bring the value of text to another page instead of an email.

    Any help would be greatly appreciated.

    Thank you, in advance.

    You need to add a custom to your form code to achieve this.

    These links will give you the correct answer:

    http://StackOverflow.com/questions/18474499/auto-populate-field-base-on-what-was-entered-i n - one other-field-simultaneously

    http://StackOverflow.com/questions/11660395/how-to-Autopopulate-an-HTML-form-and-submit-it - instantly

    http://icode4you.NET/website-forms-use-JavaScript-to-auto-fill-one-field-with-the-values-f rom-two-others-fields.

    If you use Adobe server for hosting your site, this document will allow:

    Customization of Web Forms

    Thank you

    Sanjit

  • Passing a value of ITEM to another page (java popup)

    I have an interactive form that displays data based on query.

    For example.
    Page 1
    Select a, b, c from test1;

    element of a, b, c values would be P1_a, P1_b and P1_c, respectively.

    I created a link to c field. When I cliicking on the link up a window
    and redirecting to another page.

    I then run a separate application on the new page 2 as follows.

    Select x, y, z with x = test2: P1_a;

    The problem is nothing is displayed and no error no is shown. The pop up successfully
    to get up, but no data is displayed.

    How to pass the: P1_a value of page 1 on page 2 for the query to work?
    I have to explicitly set it elsewhere? I thought that this is already done.

    Thanks in advance for your time,
    ANON

    Published by: Anon on August 17, 2009 19:56

    Try to use a collection. This always works for me... simple and neat.

  • Copy the APEX Application

    Hello people:

    Oracle Database 11 g Express Edition version 11.2

    Request Express 4.0.2.00.08

    I have a question for you.  I developed a simple application for a Department within my organisation:

    8 pages (no application process, process page 12)

    2 triggers

    2 sequences

    2 tables

    Other departments within my body as the application so they would like their own "copy".  Because of the type of information entered in the application, I can't have all the applications use 1 (of course I can but I need to create a somewhat complex authorisation schemes and I'd rather not go that route);


    Now, finally the question:


    Is there a way to the APEX to copy an application and recreate all the components (table, triggers, etc) from the new table names?  APEX makes it definitely easy to make a copy of an application, but I then go through the copy with a fine comb to change all references to the old names of table and replace it with new table names.


    Suggestions?  Comments?  I thank all members of this community of Oracle, because you communicate knowledge where it is lacking...  

    AquaNX4 wrote:

    People of day:

    Oracle Database 11 g Express Edition version 11.2

    Request Express 4.0.2.00.08

    I have a question for you.  I developed a simple application for a Department within my organisation:

    8 pages (no application process, process page 12)

    2 triggers

    2 sequences

    2 tables

    Other departments within my body as the application so they would like their own "copy".  Because of the type of information entered in the application, I can't have all the applications use 1 (of course I can but I need to create a somewhat complex authorisation schemes and I'd rather not go that route);

    Now, finally the question:

    Alas, I fear, that's the wrong question.

    Is there a way to the APEX to copy an application and recreate all the components (table, triggers, etc) from the new table names?  APEX makes it definitely easy to make a copy of an application, but I then go through the copy with a fine comb to change all references to the old names of table and replace it with new table names.

    Any suggestions?  Comments?  I appreciate everyone in this community of Oracle, as share you information where it is lacking...

    If it becomes a business tier application, it must be generated using the level technology company, such as the authorisation schemes, VPD to the multi-tenant data to be stored in the same tables and sturdy PL/SQL API for the maintenance of the data rather than the process Assistant APEX.

    Authorisation schemes are of no use in restricting access to the data, they are used to control access to the APEX application components. You can use authorization to control if a user sees a report from the region, but not the rows that are displayed in the report. To do this you must use VPD or views (note that separate sets of tables are not even considered an option).

    If all departments use, how long before that some top-level executive wants to have access to the data for each of them? How easy it will be to predict that, when the data is distributed on several tables?

    That said, SPV is not available in the XE, and the fact that you use it means that you are unlikely to be able to switch to Enterprise Edition to get it.

    My recommendation would be to rebuild the application using a set of tables, the views that restrict access to data by the Department and the generation of reports and PL/SQL with API packages manage data.

  • Copy the contents of several fields of text to the Clipboard

    I work in Flash Builder and Catalyst CS5 generation of a project that will help technicians to find easily the policies and instruments. An area that I want to concentrate on is the section Notes. I do want the user to enter text and then have a 'Notes copy to Clipboard' button which will collect all the data from these fields and store them in the Clipboard. This way all the agent has to do is to paste in the note appearing on their service ticket.

    Here is an example of the fields he would need.

    • Name:
    • Phone number:

    • Question:
    • Symptoms:

    • Troubleshooting notes:

    I also want the label of the text field to be included in the notes. So when someone sticks the notes, it is not only the content, but will include the name of the area of text as well. "Telephone number: 555-123-4567" instead of just "555-123-4567".

    I hope this makes sense guys! I'm not that experienced with Flash!

    This should get you:

    import flash.desktop.ClipboardFormats;

    var a: String = "name: John Doe;
    var b:String = a + "\n" + "phone: 555-1212";

    Clipboard.generalClipboard.setData (ClipboardFormats.TEXT_FORMAT, b);

  • An undeclared as global element value can be used in another page?

    4.2.1

    Hello

    If I have an P1_Select element that is a selection list. When the user selects a value, it runs a classic report in the same page that has a hyperlink to another page. When the user clicks on the hyperlink, it opens a new page that has a report and will use the value of P1_Select.

    My question is can I just use this value as a variable binding to Page 2? Or should I pass this value to an item hidden in two page when you set the link on the column of the report?

    The element P1_SELECT maintains state on several pages?

    Thank you
    Ryan

    When you set an item session state value and move to other pages, you can use this value.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Apex 4.2 passage value between one point and another page

    I have a page where I accept a start date and date as the end parameter
    its source, which I put it as a preference or point of application

    Now, in the other page, I have referred to jasper...
    so it's the first page... I'm not able to access the start_date tends in another page
    start_date and end_date

    Start_date shows like null
    Am confused on what element of preference and application
    Where will we use preference as a source type.

    Example again
    page 103
    p103_start_issue - preferenec
    p103_end_issue - preference
    A button named other page
    The other page
    When I call report jasper I pass the value of the parameter as: p103_start_issue and: p103_end_issue
    But the real value is zero for fields...
    How can I acess the real value...
    Do I have to use the point of application. ? I tried the point of application as the source type, but always the same question.

    Thank you

    Am confused on what element of preference and application
    Where will we use preference as a source type.

    A Page element is the shortest way duration to store session state variables. Page items are usually (but not always) deleted when entering or exiting a page. They are usually used to store a value that changes most of the time that you enter a page. Page items are also usually mainly by the code on this page. This does not mean that the other pages cannot or will not use, but access from other pages must be controlled so that they are not reference an element of page of a different pages after the page cache has been cleared.

    Application parts are data that are changed or are intended to be viewed by several pages. Application parts are not deleted unless an end of session or a specific call to make them disappear.

    Preferences are data that are intended to be stored and retrieved to specific users for several sessions. Diary of an app and back in and the data is always available.

    That said, from your description of the problem, I suppose that the cache page 103 has been erased and erasing the page element values. I think you should use a part of the application of what you have posted.

  • In Muse can link you to an item on another page?

    I was hoping there was a way to link to a 'factor' (and not a page!), located on the page of the anther or Muse natively or by a script.  I'm not a coder or I wouldn't use Muse.  I know that you can link to other pages, but I don't know about elements of other pages, specifically a "Lightbox" pop-up.

    I have a pop-up on a secondary page, lets say page 2, I would also pop up on the page of the anther, say 1 page, when you click on it on page 1, but I don't want to have to put this Lightbox pop up in two (two) places because I actually have a few hundred of them.

    Any suggestions would be greatly appreciated.

    Thank you

    Ryan.

    If you want the pop up on several pages, you will need to put on several pages. Or you can add the link to the pop up as well as the pop up itself to a model and create the pages that you want that pop - up using this model. You can try is to have your pop on a page in itself no model or other content and then add the page to another page using an iFrame.

  • Filter must be a page to another page in Oracle APEX

    Hi all

    I need to display the filter from one page to another page that I under condition that assumes that when I click on the link #DIFFERENT_USERS # then the column of "Workbook" located on page 6 must show as a filter on page 4. Can someone help me on this.

    If #DIFFERENT_USERS # is not null and: APP_PAGE_ID = 6

    THEN

    apex_ir.add_filter (p_page_id = >: APP_PAGE_ID,)

    p_region_id = > v_region_id,

    p_report_column = > "workbook."

    p_filter_value = >: P4_WORKBOOK,.

    p_operator_abbr = > 'EQ ',.

    p_report_id = > v_base_report_id

    );

    END IF;

    END IF;

    Kind regards

    Sushant

    Hi LnTinfotech,

    LnTInfotech wrote:

    Hi Kiran,

    Yes it is mandatory to set the IR filter and the #DIFFERENT_USERS # on page 6 is not on page 4 so when I click the link on the page 6 #DIFFERENT_USERS # the workbook to column 6 page should show as a filter on page 4.

    I can't do it in IR could you please help me how can we display the filter in another page that I don't know javascript.

    If #DIFFERENT_USERS # is not null and: APP_PAGE_ID = 6

    THEN

    apex_ir.add_filter (p_page_id =>: APP_PAGE_ID,)

    p_region_id-online v_region_id,

    p_report_column-online "workbook."

    p_filter_value =>: P4_WORKBOOK,

    p_operator_abbr-online "EQ."

    p_report_id-online v_base_report_id

    );

    END IF;

    END IF;

    Kind regards

    Sushant

    The above given code a result of disparities:

    • You cannot use the substitution column Viz #DIFFERENT_USERS string # directly in the PLSQL code, you need to put an item on page 6 and then use this value to point to your logic PLSQL.
    • The APEX_IR. Procedure done ADD_FILTER references: APP_PAGE_ID. Since you wrote the code above on page 6, in this case APP_PAGE_ID will be 6 and above code will try to set up the filter IR on page 6 so that your IR is on page 4. If you wrote the code above on page 4, in this case APP_PAGE_ID will be 4 and above of the code still doesn't work because of the condition if know: APP_PAGE_ID = 6. Even if you wrote the code above in the application process, still it will not work until the APP_PAGE_ID value will change when a page is passed to another page.
    • You are referring to the session state from P4_WORKBOOK, are you sure the session state from P4_WORKBOOK contains the appropriate value, before running the PLSQL code given above (considering you wrote above of the code is written on page 6)
    • Is 'Workbook' column name in IR where you want to set the filter? You must use the name of column instead of the column label.
    • Finally, are the variables v_region_id and v_base_report_id organize the legitimate values of IR whose filter you want to set?

    Reference: APEX_IR. ADD_FILTER

    Having a basic knowledge of javascript is essential for a Web Developer. You could start here: Tutorial JavaScript

    I hope this helps!

    Kind regards

    Kiran

  • Passing a value of item to another page via the button set to redirect to the page

    Hello

    I'm new to APEX and I develop an application to manage Oracle database user accounts.  I have a (8) page that has text elements for the user name and the database name.  I have a submit button (this works very well) who deliver... the ALTER USER statement to reset his password and unlock the account.  I have another button that if:

    1. get the value of username - P8_USERNAME
    2. assign to an element of application - FIND_USER_IN_DB
    3. redirect the page application - page 11

    The issue is that FIND_USER_IN_DB does not get filled and page 11 which is a simple report with the following query:

    SELECT *.

    OF valid_db

    WHERE username =: FIND_USER_IN_DB;

    How to achieve this?

    Thanks for your help.

    Steve

    A page redirect is actually nothing more than the rendering of an anchor tag or call apex.navigation.redirect. The link provided by these is generated when the page is rendered. Thus, when the page is rendered (in charge) and P8_USERNAME session state is NULL, then the link will be an empty value. There is nothing sad about the fact that when you change the value of the element on a page that session state will not change automatically and it's just about understanding session state.

    Let's say that you will present the session before the redirection if status point. Would it change anything? N ° the link, as I pointed out, has already been made, and no substitution of session state not be made on a redirect.

    You'd better be off by submitting the page via the button instead of a redirect. This will set the session state of your object to the desired value. You can then use a branch to redirect to the correct page setting the value of an element whose state of session of P8_USERNAME. You can even choose to use a process or a calculation to set the value of the application instead of by a link element, so that you can keep the application not manipulable by the user element.

  • Copy the contents of multiple fields to other areas

    The application is a purchase order. There is a column for billing information. There is a column for shipping information. I would like to have a small box or a button that fills the shipping info if it should be the same as the billing information. Can you point me in the right direction?

    Hello

    You can use JavaScript (with or without dynamic Action) and write something like

    $s( "P20_SHIPPING_INFO", $v("P20_BILLING_INFO") );
    

    This should be called on the onChange event of the checkbox or if the button should be at the onClick event.

    --
    Lavenu
    MaxApex accommodation
    http://www.maxapex.com

  • Shoot username in the Apex form text field once the user is connected.

    Is it possible for a username to autopopulate a text field in a form once the user is logged?

    Example:

    John Doe connects as jdoe. Once authenticated, he is taken to a form where a field has already slapped in user name.

    Is this possible? If so, examples?

    Thanks for any help,

    Joseph

    The field must have already affected with v ('APP_USER') or: APP_USER. Check the default value of the field

Maybe you are looking for

  • name/type of downloaded attachments is changed to attachment.ashx or something similar

    Access to an e-mail account on the site below which provides to Microsoft Outlook Web access. Since the last updated Firefox to version 8.0, the true name/type of email attachments I download is changed to attachment.ashx (or attachment1.ashx etc if

  • FPGA compile incorrectly configured worker

    Hello I've recently updated my software using the CD that spring 2014. I have NI LabVIEW 2013 Professional sake system. Now all the screws project, I used to compile successfully are communication error. It is said that compile worker is configured i

  • Writing TCP TCP read of the same VI.

    Hello I want to write data to a c program and also read data from it just after grace to a TCP connection. How can I implement both options in a single VI. I send you pictures of pixels values - program, then technology will send the berries to me. I

  • Where can I post?

    This specific forum post questions about software MyDell of diagnosis for my desktop XPS 8500 (running Windows 8.1)? Thank you.

  • No sound after installing new video driver.

    Original title: video driver installation breaks sound... When I downloaded a new Autodesk program had to install a new video driver.  Once that was completed my sound no longer works.  Thanks in advance for your suggestions. D. R.