copy data from an frm another form using one-third of

Hi all

I have three forms f1, f2, f3

in f1, I have order_no, value, address
List of F2 to order_no based on formula 1
F3 F1 for sale

I want a button on f2, if I select a particular order no and press the button copy data from f1 to f3

Please guide

Thanks and greetings
Vikas Singhal

Hi Vikas,

Then try the global variable way. In the n "f2" (all orders with the status of the list), in the WHEN BUTTON PRESSED trigger, assign the command not to a global variable.

:GLOBAL.Str_Sales_Order_No := :.SALES_ORDER_NO;

and then call the form of the sales invoice.

and in the One TIME-NEW-FORM-INSTANCE trigger, get the values from the order to the sales invoice to use a SELECT INTO statement.

SELECT SALES_ORDER_NO, ORDER_DATE, ............ INTO :SALES_INVOICE.ORDER_NO, :SALES_INVOICE.ORDER_DATE, ......... FROM SALES_ORDER WHERE SALES_ORDER_NO = :GLOBAL.Str_Sales_Order_No;

Kind regards

Manu.

If this answer is useful or appropriate, please mark. Thank you.

Tags: Oracle Development

Similar Questions

  • copy data from one form to another form filed

    Hi all
    I have the main form and in the main form, I created a trigger when button pressed button, I want to open another form using open_form ("change of name");
    and in the opening form I id, code, name, and other fields, now I want to copy the name to the name of the main form and also I want to copy the code in the main form code? Please help me out.thanks in advance


    Sarah

    Try something like this, call-trigger:

    begin
    default_value ( null, 'global.name' );
    default_value ( null, 'global.code' );
    open_form ( 'form' );
    if
      name_in ( 'global.name' ) is not null
    then
      :your_block.name := :global.name;
    end if;
    if
      name_in ( 'global.code' ) is not null
    then
      :your_block.code := :global.code;
    end if;
    erase ( 'global.name' );
    erase ( 'global.code' );
    end;
    

    The called form you decide when you want to take the return values by requesting the form.
    Peut a when button pressed trigger:

    begin
    :global.name := :your_block.name;
    :global.code := :your_block.code;
    end;
    
  • Copy data from one schema to another. Reopen the Question

    Hello

    I had asked this question earlier to copy data from tables of one schema to another in the same database using the database link. In my previous post have mentioned below.
    Re: copy data from one schema to another.
    Now I am faced with the question for the remote copy of database

    I have created a DB connection between my local system and the remote database. with the chain of connection as shown below
    CREATE THE DATABASE PUBLIC LINK "MERU_DEV_LOCAL_DEV".
    CONNECT TO MERUDEV IDENTIFIED BY MERUDEV WITH THE HELP OF "MERUPROD";
    In the above script
    LOCAL DEVELOPMENT scheme IS
    REMOTE schema is MERUDEV
    I try to copy remote database to my local database tables using the script below.
    network_link DEVELOPMENT impdp = schema MERU_DEV_LOCAL_DEV = MERUDEV remap_schema = MERUDEV:DEVELOPMENT TABLE_EXISTS_ACTION = REPLACE
    But the copy of the table does not occur. What could be the problem? Please suggest me or do I need to modify the script

    Thank you
    Sudhir

    You can:
    -monitor the BONE with ps - ef
    -monitor data pump: jobs are dba_datapump_jobs and dba_datapump_sessions
    -monitor with logops: v$ session_longops

  • copy data from one database to another

    Hello

    I want to copy data from one database to another.

    I have two patterns such as

    dev1/dev@ORCL
    DEV2/dev@DCEL


    I have same tables dev1 and dev2 (tables)
    but I have not given in dev2 (tables).
    now, I want to copy dev1 (tables) in dev2 (tables).

    You can also use the database link:

    select * from dev1.emp@orcl;
    

    What database are you connected to?
    You must create and use the links in the database for all other databases.

    For example if you are connected to the database A and to retrieve data from database B, you must create a connection of database in base B

    create database link B connect to  identified by  using 'B';
    

    Then you can retrieve data from database B with

    select * from [yourschema.]yourtable@B;
    

    This will work only for tables that are visible to the user that you used in the definition of database link.

    Published by: hm on 10.08.2011 22:15

  • Composite planning form, copy data from one tab to the other?

    This is something I've heard of someone who did but have not actually seen. The requirement is to copy data from an existing entity to a new entity as a means of values seedlings early in the budget cycle. I was thinking about a form of 'source' and a form of 'target' within a composite shape. A calc would make a copy. After copying the Scheduler can manually adjust values, or type values in the accounts that the source had no data.

    If someone did please let me know how you did and what looked like the calc.

    Thank you!

    FA

    Hello

    Yes, this can be done in several ways. The calc script would be similar to what is mentioned above. But in regards to the copy, you can also create a menu on the source form set a rule of company on the menu and start the copy that also offer users the ability to choose several invited outside of the entity if necessary.

    Thank you

  • Not able to copy data from forms

    We are not able to copy data from forms and paste it in the local machine (Notepad or excel).

    Even if the copy is enabled when you right-click after selecting data, we are not able to paste it in Excel or Notepad

    Apps Ver.R12

    Kind regards.

    PL see if these MOS Docs can help you

    Copy / paste does not work in forms (Doc ID 944963.1)
    Impossible to copy/paste in forums 12.0 or 12.1 (Doc ID 1088148.1)

    HTH
    Srini

  • Copy data from one table to the new table

    Hello

    I copy data from columns of a table to another table and my query is
    INSERT INTO TestTable (empno, empName, deptno)
    SELECT empno, empname, deptno
    WCP

    and it works fine but I want to insert a data column in testTable based on emp.deptno
    as if emp.deptno = 10 it will add 1 to the testtable.class column,
    If emp.deptno = 20 it will add 2-column testtable.class,
    If deptno = 30 it will add 3 to the testtable.class column,


    TestTable structure is
    EMPNO NUMBER (20)
    ENAME VARCHAR2 (50)
    DEPTNO NUMBER (20)
    CLASS NUMBER (20)

    Can someone please help me write this procedure.
    Thank you

    You can use a case statement as

    INSERT INTO TestTable (empno, empName,deptno,class_column )
    SELECT empno, empname,deptno, case when emp.deptno=10  then 1
                                       when emp.deptno=20  then 2
                                       when emp.deptno=30  then 3
                                  end
    FROM emp
    

    See you soon
    Katia

  • How can I load updates from pilot to another pc using the ethernet cable?

    How can I load updates from pilot to another pc using the ethernet cable?

    You would be better to use a flashdrive rather than an Ethernet cable. To connect using an Ethernet cable you need a crossover cable and then configure the network cards.

    I hope this helps.

  • Cannot copy files from HD to CD by using wizard.

    Original title: not accessible - incorrect function.

    Cannot copy files from HD to CD by using wizard. Have been able to do for a long time. Without warning is no longer possible.

    Hello

    The format of the files you want to copy basically described what kind of files they are. Word documents, of .mpg, jpeg, etc.
    However, it seems that the problem is with the drive itself, not individual files.

    You happen to have any installed Roxio program? Specifically, Roxio Easy CD Creator?
    If so, you should remove this program, restart the computer and try again.
    I hope this helps!
  • How to ETL extract data from database Oracle 11.1 using Cognos Data Manager 10.1

    Hello

    I need to run the IBM Cognos Data Manager 10.1 version ETL tool for extracting data from the Oracle11.1 database.

    My understanding is that, from the point of view of database, the best way would to have a stored procedure that will provide a reference cursor in the ETL client tool.

    However, a database procedure the ETL tool running seems not to be possible in this version of the data manager.

    If someone has done this before? What is the best way for this snippet to do?

    Thank you

    Emilija

    Annabelle says:

    My reading of original question: "What is the best way for this snippet to do?"

    Sorry - is NOT helping.

    The BEST way to extract data from a table is to use a SELECT statement.

    You said you want to do.

    So just repeat your original question instead of those that ask you to answer will not move forward us.

  • I'm trying to migrate data from a server to a new one with the file permissions of the files of users and records lost.

    original title: robocopy

    I'm trying to migrate data from a server to a new one with the file permissions of the files of users and records lost. So far, that's what I did, I used \\server1\share \\server2\share/sec /mir robocopy and robocopy \\server1\share \\serve2\share/e/s /copyall. It seams like they copied all files with the permissions of the user for the files, but not files. For example, if a user makes a folder with the files in the folder appear them have permissions appropriate for them but not the root folder or subfolders, they did... How can I fix this and what is the difference between / s /mir and/e/s /copyall?

    Hello

    You can find the Server forums on TechNet support, please create a new post at the following link:

    http://social.technet.Microsoft.com/forums/en/category/WindowsServer/

  • How to copy data from one hard drive to another after the upgrade?

    I have a HP e9220y, and I recently bought a new hard drive for it. There is nothing wrong with the former, but this one has a 64 MB cache and 7200 RPM so I hope it will be a little faster. I installed it and it works fine, but I want to copy all data from the old disk to the new so I can start everything off the faster hard drive and I seem to have a bit of doing wrong. I can't just copy and paste because of the Windows system files that are used. And last night when I set up Windows backup, and went to bed, when I thought it that Windows has recovered from a stop unexpected, rebooted, and only 2 GB of data saved obtained.

    What is the best way to move all the data from the old drive to the new drive, make it the default C: drive and move partitions system and factory_image as well? Thank you!

    Please read this link to another post made by Big_Dave and myself

    http://h30434.www3.HP.com/T5/desktop-hardware/hard-drive-imminent-failure-problem/TD-p/438567

    (1) If your old drive and the new drive is Seagate or Western Digital, then free House with their cloning software.

    (2) before starting the clone process, I found best to perform a disk cleanup and defragmentation.

    Cloning software to copy the two partitions. Example:

    Old drive 250 GB formatted to 232 C: created 220 and 12 GB D:

    New 1000GO drive formatted to 931 GB created 919 GB C: and D: to 12 GB

    The "Seagate disc Wizard" cloning software will let create you a clone automatic or manual partition resizing.

    The two modes to offer an overview of the actions before commit you. The manual on this page of Seagate (PDF) is 68 pages.

    After the cloning process he complete, all you have to do is swap on the disks. Besure to connect your new disc on the original motherboard SATA port.

  • tools to move data from a to another laboratory Manager data store?

    do you know if it is 3rd third-party tool to move stuff from a data store to another with the Director of the laboratory?

    What you are trying to accomplish, and we can help you if you can explain more details.  But for the Director of laboratory, there is a tool call SSMOVE.exe you will need to contact VMware Support for them to give it to you and its not available for free.  This tool allow you to move data from one storage to another Lab Manager environment.  I don't know if it is what you are looking for or you can watch Storage VMotion, but that applies only to the ESX host.

    If you found this information useful, please consider awarding points to 'Correct' or 'useful '. Thank you!!!

    Kind regards

    Stefan Nguyen

    VMware vExpert 2009

    iGeek Systems Inc.

    VMware, Citrix, Microsoft Consultant

  • Can I copy data from a VBScript script points?

    Hello

    If I have a 2D - axis in VIEW space, I can copy the data points to a new channel by clicking on the button ' copy of flags Data Points: Is it possible to have the same features of a VBScript? I can set and remove the flags, but I can't find a way to copy these flags.

    This is the key what functionality I want to automate my script

    Thank you

    Lucas

    Hi Lucas,.

    Define DIAdem VBScript indicators used the command ChnFlagSet. But there is no command in VBS to remove or copy the part with indicator of the curve. So I suggest you use the position of the cursor and read the x value of him, after that, you can find the following value in the channel (use PNo). If you have a box and two coursor one left and right to read x 1 (left) and x 2 (right). With this coordinates use the DataBlCopy command to copy data between the coursors to a new channel.

    If it's difficult, you can also use CHF to search for what is the value of a channel is reported and copy it to a new channel. Doing this, you first need to flag values.

    For example in this topic, you can also watch "Automatic Anzeige harmonischer offer" in the Finder for example DIAdem

    I hope this helps.

    Concerning

    TomBaum

  • How to get data from an Excel file exist using report generation tools

    I try to use the Excel vi get the data of the report generation tool, but I can't understand how to activate a path can be explored in the right type for the VI.  I tried to use the new Report.vi, but this does not work unless you use a template.  It will not open an existing excel file and make an open report to extract data from.

    Essentially, I have a bunch of excel files that have data in them, and I want a VI allows to analyze the data.  I'm going to pull in all the data directly from the excel file so I don't have to reproscess them all in text so I can use the more standard datasheet live but to convert even the excel file programtically in labview I still need to be able to open the excel file and get the data?

    I found my problem.  It turns out that only not to have had a problem with the tool box new report vi.  I had accidentally wired an input control of path of folder instead of an input control of path of file to it.  Changing the file type took care of her and I was able to access excel files, I tried using the new report VI to extract the file, and Excel Get Data to extract the data.

Maybe you are looking for

  • System tray clock

    I have a HP Pavilion laptop with Win7 - 64 Home g6. The clock in the system tray is not keeping time. It stops at the time that I finally used the laptop. Any suggestions on what else to try? And also computer stop in middle of a session.

  • Mute light volume

    Why did the silent witness of volume on my computer hp pavilion laptop stays red, even if the volume is instead of white?

  • HP Officejet Pro 8500 a909g all-in-one

    Periodically, I lose the ability to scan on this machine.  Picasa is normally able to download images from the scanner, but now he can't find the device.  I can print, but I can't use the scan on the printer function.  Tells me no. OPTIONS for ANALYS

  • The instruction at "0x7c9105f8" referenced memory at "0x08c60010". The memory could not be 'read'.___Click on OK to terminate the program.

    My problem is that whenever I try to open a game, I get the error message that "The instruction at"0x7c9105f8"referenced memory at"0x08c60010". The memory could not be "read". Click on OK to terminate the program. » and I have to close the program.

  • Analog channel scan - skeleton

    Hello I use NEITHER-DAQmx in visual basic to scan 8 channels on a Windows timer component and I'm trying to separate the initialization code of the code for the analysis. The code example lists all the functions I need to call sequences, but it is no