How do i create 2 fetch proceess for diffrent table  in the same apge

hi,
i create page with 2 from region each region assign to different table each region with DML BUTTON( CREATE,DELETE,UPDATE),there 2 Processes after header to fetch row into two region .now when i run page give me error Column t2 not found in table 1 where the 1st fetch rows Processes fetch data for all item in page Regardless of table name so give me error.
i mean that
Region one contain table 1 ....with Fetch row process ( to retrieve data into table 1)
Region Two Contain table 2....with Fetch row process( to retrieve data into table 2)
when i run page give me error Column t2 not found in table 1 and when test the sql stetmeni in debug mode i found that the process take all item in page so give this error where column t2 found in table 2 not one ..
my question
1- there is any way to assign the Fetch process to specific region so the process take all item in these region only.
2- how can create manual process to fetch row into specific items in page ( i tray these code
SELECT col1, col2, col3 ....
INTO :P1_ITEM1, :P1_ITEM, :P1_ITEM...
FROM table
WHERE id = :P_id ) but no data retrieve .
thanks
Ahmed
Edited by: Ahmed.F on Nov 27, 2012 5:10 PM

my question
1- there is any way to assign the Fetch process to specific region so the process take all item in these region only.
2- how can create manual process to fetch row into specific items in page ( i tray these code
SELECT col1, col2, col3 ....
INTO :P1_ITEM1, :P1_ITEM, :P1_ITEM...
FROM table
WHERE id = :P_id ) but no data retrieve .
I do not think that it is possible to have more than one Automated Row Fetch process in a given page. See the thread:
ORA-01403: no data found : Unable to fetch row multiple automated row fetch
On your second question, the manual process should work provided:
P_ID has a value when the process executes. You can do it this way:
i. Make this process as a on-load After/Before header process
ii. Make sure that P_ID page item has value when the process executes (set it from another page or before the pl/sql process executes)

Similar Messages

  • How can I create multiple versions of a video within the same project?

    OK...this is a probably a very basic question but I'm not sure how to word it clearly.
    How can I create multiple versions of a video within the same project? What I mean is that I have a bout 50 minutes of video and I want to make two DVDs using different clips from this original 50 minutes of footage. It would be a real pain to have to re-import the video AGAIN for the second DVD. I suppose I could drop anything I don't want to burn to DVD back into the clips pane but that would wipe out all my transitions wouldn't it? I want to save each project in their “raw” form so I can burn additional DVDs later otherwise I would just do them one at a time and not care about one of them being destroyed.
    Wow...that was a mess. Does anyone understand what the heck I’m asking? I hope so.

    How can I create multiple versions of a video within the same project?
    You can't. You make separate projects using the same or different clips, segments, transitions, titles, etc. You can even duplicate the first project and then modify/make the desired changes in the duplicated project. Each project can then be burned as a different DVD or as different titles on the same DVD if there is enough room.

  • How do you create a flash in game popup on the same frame?

    How do you create a flash in game popup on the same frame?
    I need to make a popup in flash on the same frame. Basiclly like you reach the frame and randomly (I know how to do random stuff) a popup might appear saying like you got a prize; and I want the stuff in the back to stay the same.
    Please help me!
    Thankx in advance.

    Whatever frame you intend to make this movieclip appear in, you first set it to be invisible using...
    popupName._visible = false; // popupName is whatever instance name you use
    And for whatever random code you use to trigger it to appear you just set the _visible property to be true...
    popupName._visible = true;

  • How do you insert new records into multiple tables using the same unique primary key?

    I’ve created a PHP site and MySQL server using a free app called XAMPP.  I have successfully created a form in Dreamweaver that will write data to a (name) table in the SQL database.  Here’s my question: How do you write to two (or more) tables in the same database and pass the same primary key to both tables?  In the SQL database, I defined the first field as ID and set it as the primary key with auto update.  So, when you insert a new record, it creates a unique primary key for that record.  In my form, I’m capturing info that needs to be stored to two tables at the same time; a Name table and Address table. Since the Name and Address tables use the ID field as the primary key, I believe I will need to pass the ID value from the Name table to the insert of the Address table to insure they both have the same primary key, right?

    No. You probably need the primary key from one table to be a foreign key in the other tables. In any case, I believe you can use two methods to obtain the auto generated key. First with SQL:
    http://dev.mysql.com/doc/refman/5.0/en/getting-unique-id.html
    And the other using a PHP function:
    http://us3.php.net/mysql_insert_id

  • How to use the TableSorter for two tables at the same view?

    Hello,
    I am using the TableSorter object in order to sort Dynpro tables.
    Suppose I have two tables at the same view, is it possible to use it seperatly for both of them?
    I assume that at the wdModifyView method I will need to catch the table that the user clicked on, yet I don't have an idea of how to do it...

    Hi Roy,
    Constructor of TableSorter
    public TableSorter(IWDTable table, IWDAction sortAction, Comparator[] comparators)
    So, you have to create instance of TableSorter class for each table on the view.
    best regards, Maksim Rashchynski.

  • How do I create a text field that automatically enters the same info on proceeding pages

    I know this is a basic question for Acrobat Pro, but I'm a newbie at it.  Basically, I work with pdf forms in education and I would like to figure out a way where if I enter for example someone's birthdate in page 1, and it automatically enters it in pages 2, 3, 4 and so on of the same document.
    Also, along the same lines, is there an easy way to be able to edit multiple pages of a document at once. Example: A lot of the people at my office that use the copy and paste feature in the pdf documents, and often overlook changing the "he" to a "she" and "his" to a "her" and as a result we end up with filled forms that use the incorrect sex.
    I apologize in advance if I'm not being very clear, but is the best way I can describe my problem.
    Thanks

    1. You can duplicate the field. Right-click it using the Select Object Tool and select Duplicate. You can then select the page range.
    Otherwise, you can copy&paste it, or create a new field and give it the same name as the original.
    2. No.

  • How to create one filter for N views in the same report

    Hello everybody,
    I need to have the same filter for diferent views that I have in the same report. Anyone knows how to do it?
    Thanks in advance
    Mario Mesquita

    Hi,
    In India site, you can create a SMTP connector which point to the local ISP.
    Thanks.
    Niko Cheng
    TechNet Community Support

  • How to create send connectors for multiple sites in the same domain?

    Current Scenario:
    We have 2 offices, 1 in London and 1 in India. Both are in the same domain and are connected via VPN. Both have their own separate Exchange 2003 server. Each location sends out their mail via the Default SMTP Virtual Server on their exchange server through
    their local ISP. There are no Send connectors created currently.
    We have now installed an additional Exchange 2010 server with Hub, CAS and Mailbox roles at the London site. Internal mail flow between the sites seems to be working fine.
    I believe the Exchange 2010 needs a Send connector to send out mail to the internet. However as soon as we create a Send connector on Exchange 2010, mail from the older 2003 servers at both sites start to flow out from the exchange 2010 server. This is not
    optimal for our India site since their outgoing mail now has to flow via the VPN to London and out via the new server.
    How can we configure it so that each server sends outgoing mail independently?
    Thanks

    Hi,
    In India site, you can create a SMTP connector which point to the local ISP.
    Thanks.
    Niko Cheng
    TechNet Community Support

  • How create 3 libraries for 3 Ipods on the same XP with 1 loging

    Hi all
    I just purchased 3 Ipods 30Go.
    I own only 1 XP SP2 DELL station with Itunes at 7.1 level.
    I don't have any special account - logging
    How can I create 3 diff. libraries ?
    Starting Itunes with MAJ key on in :
    1 - in program mode
    2 - with Itunes icon on the desk
    don't work fine.
    Ilibs soft seems to be ok for that; what's APPLE & IPOD
    solution ?

    If you are adding two or more iPods for your own use, just connect each iPod to your computer and follow the on screen instructions. It will update from your existing library. Depending on the size of your library and the type of iPod you choose you can have it update all songs and playlists, selected playlists only or you can manage it manually.
    If the iPods belong to different people, there are basically two ways of using multiple iPods on a computer and these involve:
    a) Sharing a single iTunes library and or user account or
    b) Creating multiple user accounts.
    Note: When you are sharing an iTunes library, you don't have to set each iPod to update in the same manner, you can mix and match from the options below as each iPod has it's own update settings
    Sharing a Library and/or User Account
    If you want to share the one library, you can set either or all of the iPods so that they only get updated with only certain playlists (you can update from more than one if you wish):
    Loading songs onto iPod automatically - Windows
    Choosing the update option "Sync Music - Selected playlists" allows you to create a playlist specifically for the iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used some other time if you choose. You can read more about playlists at these links:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes
    Or you can choose to update any or all of the iPods manually and just drag whatever content you want to them: Managing content manually on iPod
    It's also possible to have multiple libraries in a single account. To create or access a second (or more) library, hold down the Option key (or Shift key in Windows) when launching iTunes 7. In the resulting dialogue you will get the option to create a new library or navigate to the other Library.
    Note: You can only have one Library open at a time and iTunes will default to the last library opened if you don't use the keyboard command to choose one. This can prove tricky when using multiple iPods, if you don't use the keyboard command you can risk syncing to the wrong library:
    Using multiple iTunes libraries -Windows
    Separate User Accounts
    Another option is to create a separate User account for each person on your PC or Mac. Different accounts by definition would give you completely separate libraries. Each account has it's own iTunes folder, Library and iTunes Music folder and you load it with CDs etc just as you did with your original one. The iPod can be set to update however the owner chooses, sync all, manual or sync specific playlists
    I don't use Windows so I can't give you a step by step on that one, however I can point you to another web page which should help you out. You can read about Windows user accounts here:
    Using Windows XP User Accounts

  • How to create a channel for users to watch the same video contents?

    I would like to create a channel by an interactive media
    server.
    When users login , they will watch the same video content
    with the same screen, just like they are watching TV.
    Are there any resource for me to study?
    Or anyone can leave me advices?
    Thanks a lot.

    Please read about server-side action script in FMS. The
    reference that comes with FMS installer (in documentations folder)
    would help.
    Specifically, Look for server side Stream class and server
    side stream.play API usage.
    Read about sample app and additional articles form FMS
    developer center
    http://www.adobe.com/devnet/flashmediaserver/

  • How to open another iphoto library for another user on the same account.

    i have two users on the same imac that are actvie users of iphoto. how do i open a new library for the second user since the admin user has automatically gotten their own?

    On the same account?
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    The same keystroke on launch will allow you to choose which Library to open.

  • How do I create 2 totally separate iMovie Libraries (on the same drive)?

    Here is my basic issue: I take video for work and home and I store them both in iMovie. I don't want them in the same iMovie Library. I want to be able to launch iMovie '11 and select which library I want to use. They are both on my external drive and I want to keep it that way. I just don't want them mixed.
    Ideas?
    I tried option clicking iMovie to try and select a library and that didn't work because iMovie doesn't use any kind of library file the the other iLife apps do. So I took all of my "work" events out and put them in another folder. Now all the "home" events and projects that are left are organized beautifully.
    However, I don't know how to tell iMovie to open in the other folder which has the "work" events and projects.

    aha I figured that would be your follow up question! I was just to lazy to write it up for you.
    Since you need to ask, I would suggest you download a trial copy of DropDMG. It is really a tool for creating software installs with nice looking DMGs with backgrounds etc, but it will do the job for you.
    You also need to fiddle with your terminal window.
    1. Create a template folder with the name you want to appear as a hard drive
    1. Fire up DropDMG, go into preferences and choose "sparsebundle" as the format
    2. Back in main window, click on the new button and select the template folder
    3. DropDMG will create an image
    4. Locate the image and mount it (by double clicking it)
    5. Open a Finder window and select your computer
    6. Open a terminal window
    7. In the terminal window, type "cd" and press spacebar.
    8. From the Finder window, drag the MOUNTED image, from the Devices column to the left, over to the Terminal window and drop it. This will paste the full path for the image into your terminal window. So it should read something like: cd /Volumes/myfakeimage (it can handle spaces in the name)
    9. Press Enter in the Terminal window to navigate to the root of your image drive
    10. In the Terminal window, make sure you made it to the right place
    11. In the Terminal window, type "sudo ln -s" and add a space
    12. Navigate to your actual Events folder on your hard drive via Finder
    13. Drag and drop your folder containing the Events folders (it should really be named "iMovie Events") to your terminal window, effectively copying the path onto the command line.
    14. In your Terminal window, it should read something like: "sudo ln -s /Volumes/myhd/iMovie\ Events/"
    15. In the Terminal window, add a space and type WITHIN quotes "iMovie Events". This now complete line will create a symbolic link at the place where you stand, called "iMovie Envents" pointing to the path in your system. The sudo command will ask for your password and I included it here just to avoid further problems if you had issues with permissions.
    16. Hit enter and a symbolic link should be created in the root of your fake hard drive.
    Now, I've written this from memory but it ..should.. be accurate
    If you want to auto mount this image, you can place it in your login items (which you can do easiest from the account dialog in your system preferences).
    HTH

  • How do you do a search for multiple occurences of the same word in a NOTE?

    How do you search for multiiple occurences of a word in NOTES?  I seem only to be able to find the first occurence and then it goes into a loop, never past the first occurence.

    I want to find all the same words in ONE NOTE. It is a very loong list and I want to find all cccurences of a specific word in that one NOTE when I do a search. I thought I had solved this earlier today but now I can't seem to repeat it. I type in word in the SEARCH box, select the NOTE and then it shows me the FIRST occurence in that note, but only the first,

  • How do I add multiple emails for one contact to the same group list?

    When trying to set up a group email list using address book, is there a way to include multiple emails for the same contact to one group.  For example I'm trying to set up a baseball team group email.  Some kids want emails sent to both mom and dad which have different emails.  I currently have them in my address book as the boy's name with the emails listed as mom and dad.  I can add one "mom" to the list but when I compose the email, it will use the most recent email used.  I would like the group to contain both addresses for mom and dad without setting up to different contacts for the same player.

    var cToAddr = this.getField("saManager").value + ";" + this.getField("ManagerEmail").value;

  • Get row count for different tables to the same line

    How can I get the row count for different tables in one line:
    SELECT count(A), count(B), count(C) from table tb_a A , tb_b B, tb_c C;
    Thanks!

    >
    Hi,
    How can I get the row count for different tables in one line:
    SELECT count(A), count(B), count(C) from table tb_a A , tb_b B, tb_c C;Something like this? One of the many uses for CTE's - Common Table Expressions - AKA
    subquery refactoring. Worth getting to know - very handy!
    with acount as
      select count(*) as counta from dual  -- put your table name here
    bcount as
      select count(*) as countb from dual  -- put your table name here
    ccount as
      select count(*) as countc from dual  -- put your table name here
    select a.counta, b.countb, c.countc from acount a, bcount b, ccount c;HTH,
    Paul...
    Edited by: Paulie on 25-Jul-2012 17:44

Maybe you are looking for

  • How to set up application independent keyboard mappings?

    Hi, the Keyboard preference panel allows the user to define actions based on menus. What it doesn't seem to let me do is map ANYTHING to F13 - F16, or perform any actions which aren't currently available in some menu. What I would like to do is use t

  • Added photos in web gallery synced back to iPhoto?

    when others add photos to my web galleries, i can't find where they are synced back to on my mac. For example, if I publish an event "Beach" and my friend adds a picture taken from her camera to the web gallery, it does not sync back to the original

  • ITunes refuses to launch

    I just updated to the newest version of iTunes, and upon restarting, iTunes refuses to launch. I tried launching from applications, restarting, reinstalling, and deleting my library settings file for iTunes, but nothing has worked. No other programs

  • Urgent : Oracle AS 10.1.2.0.2 : Switch OC4J's JDK version to 1.3 ?

    Hi, We have inherited an EJB application which was written during the hey days of JDK 1.3. We have an Oracle AS 10.1.2.0.2 & we have successfully migrated most of the other Applications / Oracle J PDK Applications which were developed using JDK 1.4.

  • How do I download a recently purchased album to a CD?

    How do I download a recenly purchased album to a CD?