# of tab canvases dependant on the # of groups that come back from a query

Hi,
     I'm trying to create a dynamic creation of blocks, and tab canvases dependant on the number of groups that come back from a query. If 4 groups come back then I desire 4 tabs with the appropriate data in each tab.

Basically Forms is not intended to build screens programmatically but it is possible to kluj it. Here's what you could do.
Create a form with (say) four tabbed canvases, enough to fill the display. Each canvas has its own block. Then you have video style buttons - Fwd, Bk, FFwd FBk - and just scroll the blocks across when the user clicks the button.
Did you enjoy the use of the word "just"? Sounds easy, doesn't it? In practice, what you need is an array that ties the filter criteria to the canvas number. Then you shuffle the canvases by applying the appropriate WHERE clause using SET_BLOCK_PROPERTY and then executing a query.
The problems with this are obvious and the same as any dynamically generated UI. It will perform badly (each navigation to a canvas will trigger a fresh query, plus there's the overhead of managing the stack). Also it is fragile: there's lots that can go wrong.
So you need to ask yourself what it is you are hoping to achieve. Can you deliver the same business function some other way? As another poster has pointed out, this is just a glorified master-detail form - the filter criterion being the master. Building this as a classic two block master-detail Form is more straightforward and more robust.
Regards, APC

Similar Messages

  • I have a problem with safari, when I open new tab the tabs don't have the exit button that it used to be on the left corner of each tab and i used to close the safari with command Q witch is not working anymore ! what am I supposed to do ?

    how can I fix this problem ? I cant close the safari with command Q anymore and the tabs don't have the exit botton that used to be on left corner !

    Use cmnd+w to close the tab.

  • ORA-2001:The approver group Process MFG Approvals has dynamic query in wron

    ERROR ORA-2001:The approver group Process MFG Approvals has dynamic query in
    wrong format in 11i
    We are setting up the Approver Group 'Process MFG
    Approvals" using a dynamic query, like:
    SELECT PAPF.EMPLOYEE_NUMBER
    FROM PER_ALL_PEOPLE_F PAPF,
    fnd_lookup_values FLV
    WHERE FLV.MEANING=PAPF.EMPLOYEE_NUMBER
    AND lookup_type='SUG_SAMPLE_NOTIFICATION'
    AND SYSDATE BETWEEN papf.effective_start_date AND papf.effective_end_date
    AND FLV.LOOKUP_CODE= (SELECT GME.PLANT_CODE FROM GME_BATCH_HEADER GME WHERE
    GME.BATCH_ID=:transactionId)
    - Above query is passing the validation action from within the setup screen.
    - However, when this approver group is being invoked via Sample Creation
    workflow, there is following error raised:
    ORA-20001:The approver group Process MFG Approvals has dynamic query in
    wrong format
    More, if user is trying to use a more simple query like:
    select distinct person_id from PER_ALL_PEOPLE_F where full_name = 'Mr.
    Oliverking G' we are getting same error
    Any idea, plse, would be gretaly apprciated.
    txs
    Peter

    Hi,
    You need to prefix the value with a text string which indicates what kind of value you are returning.
    E.g. if you are returning a user ID, prefix the value with 'user_id:'; if you are returning a person ID, then prefix it with 'person_id:'
    There is an article on my blog about creating a dynamic approval group in AME as part 5 in the series on AME: http://www.workflowfaq.com/ame-part-five-defining-a-dynamic-approval-group
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Firefox will not open web pages that are called from the mail program that comes with Vista, anyone out there have a solution?

    I have installed Firefox ver 4 on a Toshiba laptop running Vista. My problem is when using the mail client that comes with Vista any url in an email message will not load in the browser, a new tab is created and has the url from the mail message but that is as far as I get. There is no revolving icon on the new tab and clicking on reload does nothing. So far this is happening with every website I have tried. There is no error message of any kind. The websites are working sites and can be opened if I navigate to them manually

    I have installed Firefox ver 4 on a Toshiba laptop running Vista. My problem is when using the mail client that comes with Vista any url in an email message will not load in the browser, a new tab is created and has the url from the mail message but that is as far as I get. There is no revolving icon on the new tab and clicking on reload does nothing. So far this is happening with every website I have tried. There is no error message of any kind. The websites are working sites and can be opened if I navigate to them manually

  • All of the free music that comes with iMovie is suddenly missing. How do I get it back?

    I wanted to start a new project in iMovie, and I realized all of the iLife music is gone. I'm not talking about my iTunes songs, which are all there. I'm talking about the free music that comes with iMovie/iLife. I used some of the music in a previous project, and that still plays, but I can't access the music anymore from the music tab.
    The iLife sound effects are still there, but all the music is gone.
    Please help.

    sugaryyellowman wrote:
    I can't see any folder called 'iLife Sound Effects'. Also, I cant find any jungles when I search jingles. But, I can get jingles in iMovie (I can't seem to find them on garageband)
    See the following screenshot from GarageBand - firstly click on Apple Loops in the top right corner, then on Jingles in the listing of items that appear below that. You should now see all the Jingles in the panel at the bottom right of the window.
    Hope this works for you!
    John

  • The only icons that come up are computers and settings no movies tv  etc

    the only icons that come up are computers and settings, no movies tv etc.  I have disconnected the device and one box nothing I have tied has corrected this problem please advise, I am so frustrated second day attempting to correct this.

    The Settings > General > Software Update option only appears when you have iOS 5+ installed, as your tagline says that you have iOS 4 then you will need to do the update via your computer's iTunes.
    Connect the iPad to your computer's iTunes and copy any purchases off the iPad to your computer via File > Transfer Purchases (File > Devices > Transfer Purchases on iTunes 11). You may also want to copy photos and any important documents off the iPad as well e.g. via the file sharing section at the bottom of the device's apps tab when connected to iTunes, via wifi, email, dropbox etc - they should be included in the backup, but it's best to have a copy of them outside of the backup just in case. You can then force a backup of the iPad by right-clicking the iPad 'Device' on the left-hand side of iTunes and selecting 'Backup'.
    Then start the update by selecting the iPad on the left-hand side of iTunes (on iTunes 11 you can enable the left-hand sidebar via option-command-S on a Mac, control-S on a PC), and on the Summary tab on the right-hand side clicking the Check For Updates button
    Updating to iOS 5+ : http://support.apple.com/kb/HT4972
    An iPad 1 will be updated to iOS 5.1.1, and iPad 2 and 3 to iOS 6.1.2.

  • How do I set one widget to be the 1st one that comes up when I click on Widgets

    Hello,
    how do I select 1 widget to be the first widget that comes up when I click on the Widgets button.  Before the new screen guide, if I left the WeatherBug widget as the last widget I had viewed, when I clicked on the Widget button it would be the first one to come up in the center.
    Thanks,
    Anthony
    Solved!
    Go to Solution.

    Originally when 1.9 was beta tested the last widget selected "stuck" so it would be the one that came up next time entering widgets.  Sometime (more recently) the retention stopped working.  It has been reported to the development team but I have no idea if it is or isn't going to be changed in the bug fix release 1.9.1 (no idea when that will be rolled out).
    BTW - I have also noticed that they are now sticking ads in the wideget carousel - BOO, HISS - Bad Verizon!!!
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • I upgraded Windows 7 to Windows 8 with iTunes installed. Now my iPhone 4S is no longer recognized in iTunes. Connecting with USB sends me directly to the MS app that downloads pictures from the iPhone. Suggest this is a question of missing Apple driver.

    I upgraded Windows 7 to Windows 8 with iTunes installed. Now my iPhone 4S is no longer recognized in iTunes. Connecting the iPhone with USB sends me directly to the MS app that downloads pictures from the iPhone. Suggest this is a question of missing Apple driver for Windows 8, iTunes and iPhone. MS does not care! This seems to be a general problem with Windows 8 that a number of drivers that used to work with Windows 7 now do not work, ie. iPhone to iTunes, HTC to HTCSync, Samsung to Kies etc. I need this connection to work in order to syncronize with Outlook and my iTunes library.

    diesel vdub wrote:
    Maybe it would have been a better idea to confirm that iTunes is supported in Windows 8 before buying a computer with that Operating System.
    There will be a new version of iTunes released this month... no one forced you to upgrade prior to a supported version of iTunes being released.
    Like the fact that you just called most of us stupid there

  • IPad won't display my Gmail contacts in the Contacts app that comes with the IPad.

    I have never been able to get my Gmail contacts imported into the Contacts app that comes with the IPad.

    If you can be more specific about what you have tried, someone might be able to offer other solutions.
    I sync my contacts and calendar with Gmail too. I don't use iCloud for syncing contacts. I have set it up as an exchange account. That works on both my ipad and iphone. Any changes made to either is reflected on the other.
    Settings>Mail, Contacts, Calendars>Add new account>Microsoft Exchange. Leave out the domain name. The server when asked is m.google.com. Turn on contacts (and calendar or mail if you use them) and that's it.
    If that does not work, perhaps you can describe what issue you are having.

  • I have just come back from morocco where my phone worked ok using the morroco network, but since returning to the uk I can't get it to pick up a signal from the 'Three' network, have tried resetting etc but still wont work, any suggestions

    I have just come back from morocco where my phone worked ok using the morroco network, but since returning to the uk I can't get it to pick up a signal from the 'Three' network, have tried resetting etc but still wont work, any suggestions

    banannaphone,
    Welcome to Apple Discussions.
    Quit Safari, find the com.apple.Safari.plist file in your Macintosh HD/Users/yourusername/Library/Preferences Folder, drag it to the Desktop, log out/in or restart and let us know what happens.
    ;~)

  • Just upgraded to OSX mavericks on macbook pro mid 2011 version. Having a big issue here that whenever my mac comes back from sleep, i.e after I open the lid, the screen flickers and there is an error of Finder not opening properly. Any fix to this?

    Just upgraded to OSX 10.9 mavericks on macbook pro mid 2011 version. Having a big issue here that whenever my mac comes back from sleep, i.e after I open the lid, the screen flickers and there is an error of Finder not opening properly. Any fix to this?

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • What is the text editor that comes with a Mac?

    What is the text editor that comes with a Mac? My daughter purchased a new MacBook Pro. She wants to move her iTunes from the old Windows XP system to OSX. One of the ways I have found to do this is to move theXML Library from XP toi OSX and edit it. The XP version has the drive letter paths and that is different in OSX. If I knew what editor was available, then I could do a mass change of the old path to the new one. Any editor suggestions?

    Hi motero,
    TextEdit is essentially a word processor. You can find detailed information about it [here|http://support.apple.com/kb/HT2523].
    Moving an iTunes library from one computer (PC or Mac) to another is very easy and can be done in a number of different ways. You should read the articles [here|http://www.apple.com/support/itunes> and decide which method is best for you.
    Thanks,
    Acros-Krik

  • HT4623 MY replacement iPhone 5 will not play my music stored on the phone on the music app that comes with the phone.  It shows the albums and artist but the music will not play.  How do I get the app to work correctly.  It works on my iPad and my wifes p

    help me to play my music on the music app that comes with the iphone 5 .  My replacement phone will not play my music stored on it.

    Anybody have anything for me?

  • I was trying to download cs2 free verson but, the serial number given comes back invalid.  Is there a new

    I was trying to download cs2 free version but, the serial number given comes back invalid.  Is there a new one?

    Item 2, on the download page
    'You can use the serial numbers provided as a part of the download only if you legitimately purchased CS2, CS2 applications, Acrobat 7, or Audition 3.'

  • Can I shut off the control box that pops up from the bottom

    Can I shut off the control box that pops up from the bottom?

    you can disabel it from being activated form the lock screen and within apps. got to Settings> Control Center to find those controls. There is no way to disable Control Center from the activation while on the home screen

Maybe you are looking for

  • AEBS Gigabit 802.11n FW 7.2.1 - OS X 10.5.1 Port Mapping HELP!!!!

    Hi I have a AEBS with Gigabit Ethernet upgraded to Firmware 7.2.1. I am running OS X Leopard 10.5.1 and I am unable to successfully forward ports. Every time I query a port that I believe to have mapped successfully it appears closed using canyouseem

  • Divestitature document not getting reversed at receiver group

    Hi We have transferred some cons Unit at the upper level of hierarchy under higher cons group,but facing issue of divestitature docuemnt not getting reversed at receiver group, This is a vertical upward transfer and have used OC logic to avoid goodwi

  • HT2493 How to change preview image of a file and NOT the icon ?

    Hello dear Mac users How to change preview image of a file and NOT the icon ? I know how to change the icon of a file, but I wish to know how to change the preview of any file. For example: my file is "mysong.aif", I changed the icon to be "mylogo.pn

  • Transporting issue in ABAP-HR.

    Hi,   We have transported the ABAP-HR object (screen enhancement) from 120 client to 130 through SCC1 transaction. But thye screens are not reflecting in 130 client. Request you to provide some inputs on this.

  • What is Cloud Computing?

    I need to know what is cloud computing and whether there's any similarity between "ESB" (Enterprise Service Bus") and "Cloud". *If they are similar*, what is the best solution? *If they are not similar*, where to use 'ESB' and where to use 'Cloud'? T