How to set variables that queries can use?(10g)

I am using only ONE TABLE here for all queries. I have one query which pulls out a key and seven other queries that create seven different report sections based on that key. All queries access data in the same table.
The first query ahould set a key so the other seven can use that key to get data. The key changes everytime all seven queries get executed and a report page is displayed, then the queries use the new key until all keys generated by the first query are used.
Questions?
How do I get the seven queries to check that key. Can you have (declare) variables in Reports Builder that you can assign a value in every iteration and then include a check (for that value)in a where clause of other queries? If yes how would I do that?
In a programming language this is simple, you pass the same value as a parameter to several functions... Can you do something similar here and set a value that all queries can check against? Like a local or global variable.
Thanks
Mike

Sorry, I guess there were a few typos in my last post!
OK. All data is pulled from the same table. Here is how the report should look:
KEY (a number)
Data from query 1 that belongs to key above
more Data from query 1 that belongs to key above
more Data from query 1 that belongs to key above
Data from query 2 that belongs to key above
more Data from query 2 that belongs to key above
more Data from query 2 that belongs to key above
Data from query 3 that belongs to key above
Data from query 4 that belongs to key above
Data from query 5 that belongs to key above
Data from query 6, same
Data from query 7, same
END OF PAGE 1
(there is a maximum 45 possible data lines so data will not exceed the length of a page)
Next Page:
KEY (a different number)
Data from query 1 that belongs to key above
more Data from query 1 same
more Data from query 1 same
Data from query 2 same
more Data from query 2...
more Data from query 2....
Data from query 3 same
Data from query 4...
Data from query 5.....
Data from query 6....
Data from query 7....
END OF PAGE 2
Other pages all look the same. Data from each query is based on the key on the first line and so on.
Example:
select ipseries from ipTable (possibly for query 1)
select ipSeries,sum(ipvalue1+ipValue2+ipvalue3) from ipTable (query1) group by....
select (sum(ipvalue1+ipValue2+ipvalue3)/3) from ipTable (query2)
select (sum(ipvalue1*ipValue2*ipvalue3)) from ipTable (query3)
and so on. Each query puills a set of values or sums a set of values.... etc.
(please note that what I have not included is that somehow we need to relate each query with the key)
Thanks a lot

Similar Messages

  • HT201328 i had brough a used set iphone 4s from japan, how to unlock so that i can use in malaysia

    i had brough a used set iphone 4s from japan, how to unlock so that i can use in malaysia.
    PLs help i u have any ideal /way to solve. Thanks.

    if the carrier it's locked to will let you then yes
    otherwise no
    they are the only ones who have the power

  • I'm in need of a variable that I can use to display total time spent in a course.

    I'm attempting to create a custom certificate of completion that a learner can print at the end of a course.
    I'd like to have the total time spent in the course displayed on it but am not sure about the variable to use.

    Thanks for the quick reply!
    I was hoping for a quick solution to have the elapsed time appear only on a printable certificate of completion.
    Unfortunately, this goes beyond my limited knowledge and experience in using variables. (Admittedly, I'm not a frequent Captivate user)
    Thanks again!

  • How can i reuse same variables that i create using c:set var="index" /

    hi all,
    please some one helpme!!!!!!
    how can i reuse same variable that i create using
    <c:set var="index" value="${0}"/>
    cause later in the program i use index to do some condition and based on that i increment ...
    so for example if i say...
    <c:if test="${index==0}">
    <c:set var="index" value="${index+1}"/>
    </c:if>
    will it be like
    if(index==0)
    index++;
    can i do like i did be4. if not what do i need to do to reuse. cause i use the variable atleast 5 time and its keep changing on diff condition level.

    Have you tried it?
    It should work, provided you are on the same page.
    The c:set tag creates the variable in pageScope by default.
    If you forward to another JSP you need to set the scope to be "request" so that it is still available.

  • How to set up my elderly parent with Mac so that I can use remote access to help her?

    I want to set my elderly mother up with a new Mac mini so that I can use remote access to show her how use email, browse the internet, share photos.  (She lives in KY, I live in OR)
    She has had an iPhone and an iPad for about 6 months and she can barely use them without becoming frustrated.   I want to be able to see her screen with her and show her how to do things.
    My plan is to set her up with a Mac mini and I'll use my MacBookAir to remote into her system.  I'm buying the mini to configure and then I'll mail it to her.
    My question is whether to try to use Back to My Mac or Teamviewer for remote access
    I have broadband with comcast and she has broadband with Access Cable.  Each have their company modem/routers--neither of us have Airport Express.
    I have my own iCloud account and she has her own.   If I use Back to My Mac, it seems that I would need to set up a separate account on my Mac that would sync to her iCloud account.
    Teamviewer seems easier because I don't have to use a separate account.   Any advice?   Anything that I'm not thinking about?

    As Linc says, you can establish a Screen Sharing session via iMessage and Facetime.  The advantage of these 2 approaches is that once your Mom gets used to using them, she will be more comfortable using them to communicate with you.  I've talked to my Mom via iChat (aka iMessage) more since she learned to use them, then in all the years before that (including when I was a child ).  And just being able to see your Mom via Facetime can be useful when you want to gage how she is doing.
    However, if you are any distance from your Mom, they you want backup methods incase something goes wrong.
    So beside iMessage/Facetime, the next best would be Back-to-My-Mac via iCloud, however, you will want to establish her Mac as using your account so that you have the right to take control remotely.
    An alternative that does not mix up your iCloud acounts would be to use TeamViewer.com (which has an unattended mode so you can do off-hour maintenance when your Mom is not around; or check up on her to find out if she is dating - Turns out if I had been paying attention, I would not have been blind-sided by my Mom getting Married again last Summer - she is in her 80's! ).
    LogMeIn.com, as dwb says, can be used the same was as TeamViewer.com
    Both LogMeIn.com and TeamViewer.com are very good at making it easy to get through the home router and if you are having any problems connecting using other Methods, TeamViewer.com or LogMeIn.com will most likely not have any issues.
    Back-to-My-Mac allows screen sharing and file sharing so you can transfer files as well as control the screen.
    Screen Sharing via Messages allows cooperative file transfer. That is to say, you can try pushing a file to your Mom, but she has to accept each transfer.
    TeamViewer.com has an unattended file transfer mode.
    LogMeIn.com requires the paid version to transfer files.  However, there are other ways to transfer files, such as downloading them from the original source on your Mom's system while using screen sharing, using Dropbox (or similar), emailing them, etc...
    Of course if you are really network savvy, you can roll your own via ssh tunnels, port forwarding routers, getting dynamic DNS names, transferring files via scp, or tunneling AFP file sharing, tunneling your screen sharing sessions.  Lots of fun and excitement playing with terminal commands

  • My sons ipad uses my user name (i have an ipad and iphone).  I want to set his up with his own username and password.  How do i do that and can it be done without losing any of his apps, songs or video?

    my sons ipad uses my user name (i have an ipad and iphone). i want to set his ipad up with his own username and password.  How do i do that, and can it be done without losing any of his apps, music or video?

    Go to http://appleid.apple.com.
    To clarify, the mere act of changing the Apple ID on the device will not remove any content. But you cannot update the apps or re-sync them if they get deleted without the old Apple ID. It may be best to download them again with the new ID.

  • I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and Itunes store. How do I make one password that will be recognixed by all these devices?

    I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and itunes store. How do I make one password that will be recognized by all these devices? My apple id is constantly not working.

    Hi Lrwill,
    If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
    Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
    Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
    Cheers,
    GB

  • How do I get a copy of the Mountain Lion OS that I can use to recover?

    How do I make a disc image of my Mac Mini HD that id bootable and has the operating system with all the programs, settings and data.  If I need to replace a defective hard drive it would be good to have an image on a USB flash drive to restore previous settings and the operating system -- Mountain Lion, 10.8.1.  I have been told that TimeMachine does not make a true disc image.  I want a "hard copy" of the operating system that does not require an internet connection.

    Unfortunately, the link for getting specific hardware versions has disappeared. So basically:
    Get yourself a spare hard drive freshly erased or with a freshly erased partition of around 8 GBs or more.
    Boot to your Recovery HD. Select Reinstall Lion from the main menu.
    From the beginning screen select your spare partition/drive as the target destination then begin the download.
    At the end of the download you will observe an Install button for you to click. Now this is important - as soon as that gadget appears you must abort the installation process. There are only two reliable ways to do this quickly: a. yank the cable for the drive from the computer; b. pull the power on the computer - shut it down quickly.
    This will result in your finding a folder on the drive that contains InstallESD.dmg that you can now use to create a bootable USB flash drive installer based on the special build for your model. Use it until the next public release of Lion appears or you move on to Mountain Lion.
    If you do not stop the download process immediately upon its completion you will end up with an installer that always boots to a non-functioning installation progress window instead of the normal main menu.
    Make Your Own Mountain/Lion Installer
    1. After downloading Mountain/Lion you must first save the Install Mac OS X Mountain/Lion application. After Mountain/Lion downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the Mountain/Lion installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing.
    2. Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
    Open Disk Utility in your Utilities folder.
    After DU loads select your flash drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    Click on the Erase button. The format process can take up to an hour depending upon the flash drive size.
    3. Locate the saved Mountain/Lion installer in your Downloads folder. CTRL- or RIGHT-click on the installer and select Show Package Contents from the contextual menu. Double-click on the Contents folder to open it. Double-click on the SharedSupport folder. In this folder you will see a disc image named InstallESD.dmg.
    4. Plug in your freshly prepared USB flash drive. You are going to clone the content of the InstallESD.dmg disc image to the flash drive as follows:
    Double-click on the InstallESD.dmg file to mount it on your Desktop.
    Open Disk Utility.
    Select the USB flash drive from the left side list.
    Click on the Restore tab in the DU main window.
    Select the USB flash drive volume from the left side list and drag it to the Destination entry field.
    Drag the mounted disc icon from the Desktop into the Source entry field.
    Double-check you got it right, then click on the Restore button.
    When the clone is completed you have a fully bootable installer that you can use without having to re-download Mountain/Lion.
    Note: The term Mountain/Lion used above means Lion or Mountain Lion.
    As an alternative to the above you can try using Lion DiskMaker 2.0 that automates the process.

  • Are there any settings in the options (or anywhere else) that I can use to set up an auto confirm and resend without having to manually click the 'resend' butto

    There is a certain website I use that I refresh frequently. Every time I do I get a pop up message labeled ‘Confirm’ with a question mark in it that says;
    “To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier."
    It only seems to be a problem with this one particular site. Are there any settings in the options (or anywhere else) that I can use to set up an auto confirm and resend without having to manually click the ‘resend’ button in the pop up window?

    Hi cor-el, Thanks for responding;
    I am accustomed to seeing this type of pop up on occasion and understand why they are necessary to prevent duplicating orders, payments, etc. I am not using a back button, I wanted to use an auto-refresh app to search for reservation openings on a certain web site and can not because this pop up requires me to manually push a button every time the page refreshes. I am resending the same information every time (a date range) via the POST form, so, was hoping there was a way to either disable, override, or set up and auto response so I can use the auto-refresh app. Your description of how to avoid the pop up didn't entirely make sense to me, but If I have to do a bunch of manual steps in between each refresh attempt it doesn't matter because I'm no better off.

  • If I have several different apple email accounts, how can I merge them under one email so that I can use it on multiple devices?

    If I have several different apple email accounts, how can I merge them under one email so that I can use it on multiple devices?

    BuckeyeNative wrote:
    how can I merge them under one email ...
    you can't.
    ... so that I can use it on multiple devices?
    a single iTunes can be authorized for up to five iTunes store accounts (Apple IDs). a library thusly set up will sync content purchased with any of the five Apple IDs to any device.

  • I want to burn music cds on my iMac that I can use on other cd players not just on a pc or mac how do I do this?

    I want to burn music cds on my iMac that I can use on other cd players not just on a pc or mac how do I do this?

    Hi, neighbour!
    Create your playlist in iTunes, making sure it will fit on a CD (time and size of playlist shown at bottom of window).
    I think as you're in Lion, it'll be iTunes 10? If so I believe the burn option is now in one of the menus - probably 'file', but it shouldn't take much finding).
    Selecting Burn should give you a dialogue some thing like this;
    (This is iTunes 9, so it may not be exactly the same).
    Choose Audio CD and set the gap if reqd.
    Click burn, then insert the CD when prompted in the top of the iTunes window.

  • Two apple I.D., one with the .me email address I want, how can I delete it so that I can use that .me address on my other account?

    I have two apple I.D., one with the .me email address I want, how can I delete it so that I can use that .me address on my other account
    Or is it possible to transfer the purchases (apps) to my new .me account so that I can re-download them in the future without having to switch accounts?

    crazyshark wrote:
    I have two apple I.D., one with the .me email address I want, how can I delete it so that I can use that .me address on my other account
    Or is it possible to transfer the purchases (apps) to my new .me account so that I can re-download them in the future without having to switch accounts?
    You can't do this, and you can't transfer purchases between accounts. There is no conflict about using one ID for iTunes, iTunes in the Cloud and iTunes Match (the ID you've been using for iTunes) and using the other ID for iCloud.

  • HT202667 Hi - My daughter was using her Apple TV until recently when she got a Smart TV.  Now the Apple TV is not needed so she passed it on to me.  How do I get it transferred over from her Home Sharing account to mine so that I can use it with my PC?

    Hi - My daughter was using her Apple TV until recently when she got a Smart TV.  Now the Apple TV is not needed so she passed it on to me.  How do I get her Home Sharing account transferred over to mine so that I can use it with my PC? Thanks!

    As  Winston Churchill wrote, however you might want to do a factory reset on the Apple TV.
    This way all information pertaining to your daughter will be removed from the device. Specifically if see was sign into any of the streaming service, Netflix, Hulu, etc. her credentials will still be associated with this Apple TV, doing  a factory reset will remove all that and make it as if you purchased the device and just plugged it in.
    regards

  • Using iPad mail program I have a draft of an email. I attempted to "cancel" and "delete draft" but it is still on my screen even after shutting down and restarting. How do I exit so that I can use other mail functions?

    Using iPad mail program I have a draft of an email. I have attempted to "cancel" this and "delete draft" but the email stays on my screen. How can I exit this so that I can use other email functions?

    Try closing the Mail app completely and see if it works properly when you re-open the app : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • I have 2 iphones, 1 personal and 1 business.  I thought I was supposed to have 2 separate itunes accounts.  I now have a work ipad and want to only have 1 itunes account that I can use for all 3 devices.  How do I cancel 1 account or just combine the 2?

    I have 2 iphones, 1 personal and 1 business.  I thought I was supposed to have 2 separate itunes accounts.  I now have a work ipad and want to only have 1 itunes account that I can use for all 3 devices.  How do I cancel 1 account or just combine the 2?

    I want to be able to transfer my apps from my original itunes account that I have on my personal iphone 3 and work ipad 3 to my work iphone 4S ,as well as purchase more more apps for the work iphone with the original itunes account.  Plus I need to sync all 3 of them with my work tower computer.  I really appreciate you're trying to help me out.

Maybe you are looking for