Is there a way to combine their query results into a single function

say I have a bunch of functions that return a query:
<cffunction name="getDeals" access="remote"
returntype="query">
<cffunction name="getDeals2" access="remote"
returntype="query">
is there a way to combine their query results into a single
function that returns a struct of the various results?

Umm, it's probably more suited to an array - effectively
making it into a list of queries. You'd then loop the array and
output each.
I use a similar approach when creating system messages to the
user. Most of my functions that are called do their bit, then at
the end call another function I call "messages". This function
grabs whatever my function sends and appends it to a messages
array.
This way enables me to output a long list of messages -
because I could be calling several functions at the same time. If I
just output a message from each function, each one would overwrite
the other. So I'd get one message at a time.
Immediately after it's output, I then destroy the message
array so that old messages aren't kept inside of it.
Mikey.

Similar Messages

  • Is there a way to combine 2 avi files into 1 file?

    I have video clip split into 2 avi files and I want to combine them into 1 long file so I can convert the file type (I have iSquint) and import it to iTunes and then to my iPod. The best I can figure out is using iMovie but that makes the files HUGE and it says its gonna take 170+ min just to compress it for my iTunes.
    So is there an easier and quicker way to combine these 2 files, because I hate part 1 and part 2 when watching videos.

    If you like isquint then you will love it's big brother VisualHub from the same people.
    http://www.techspansion.com/visualhub/
    It has a facility to 'stich videos together' which is, I assume, what you want.
    It is not free but pretty cheap
    There are lots of other features
    PS I have no connection with techspansion but I do like their software and attitude

  • HT201340 Is there a way to combine all my libraries into one library on Aperture?

    I have pictures all over the place on my mac and would like to put them all in one library and delete the other locations.  Is there any easy way to do this?

    This might work, depending.....
    http://www.tonton-pixel.com/blog/json-photoshop-scripting/json-utility-scripts/combine-adj ustment-layers/
    some more info:
    http://www.gregapodaca.com/photoshopmechanics/files/008.html

  • Is there a way to combine multiple tables/sheets into one file?

    In Excel if add more than one sheet you have tabs at the bottom that you can click on and name. Does Numbers have something similar? I searched support and even googled the question but couldn't really find an answer. I appreicate any help!!!
    Thanks!!

    More a vocabulary issue than anything else, although the underlying models are somehwat different.
    A Numbers document must have at least one Sheet, the large canvas on which other objects are placed.
    Every Sheet starts with one Table on it. You can add several tables to a Sheet. Usually hese are (relatively) small, single purpose tables, typically used to perform calculations on the contents of the main table, to hold data used by the main table, to extract data from the main table for use in a Chart, or for other purposes. As each Table is added, its icon is added to the list, under the Sheet to which it was added. Tables can be moved to a different sheet by dragging their icons in the Sheets list. umbers aoutomatically updates all formulas to fit the new location.
    Charts can be added to a Sheet by selectng the data to be graphed, then choosing the chart type from the Charts button in the Toolbar. An icon for each chart is added to the list (under its Sheet) as the chart is created.
    When you add a Sheet to a Numbers document, that Sheet's icon appears in the Sheets list to the left of the working area (where the active Sheet and its contents are displayed). Charts can be moved to a differet Sheet by dragging their icons.
    Other objects (Text boxes, graphics objects) can also be added to the Sheet. No icons appear for these.
    The list of items for each Sheet can be collapsed (by clicking the disclosure triangle beside the Sheet name), hiding the Table and Chart names, and leaving only the Sheet name and icon showing in the Sheets list.
    Only one sheet may be viewed at a time. To switch between sheets, click the icon of the Shhet to which you want to go, or click the icon of an item on that sheet to bring the sheet to the front with the clicked item on the screen.
    For more detail, and a better introduction to Numbers, I'd recommend reading at least the first four chapters of the Numbers '09 User Guide, available through the Help menu in Numbers, or from this page.
    Regards,
    Barry

  • HT2589 Is there a way to combine 2 apple id's?  they both have the same email address.

    Is there a way to combine 2 apple id's?  they both have the same email address.

    drcpas wrote:
    Is there a way to combine 2 apple id's?
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    From Here   http://support.apple.com/kb/HE37

  • Have one WiFi signal into the apartment for my Air, and another wifi signal for my 5c phone plan. Both from the same provider. Expensive. Is there a way to 'combine' WiFi signals so I pay only for one, but can get on the Internet with my Air?

    Have one WiFi signal into the apartment for my Air, and another wifi signal for my 5c phone plan. Both from the same provider. Expensive. Is there a way to 'combine' WiFi signals so I pay only for one, but can get on the Internet with my Air?

    Roamingnome, thanks for your response. Although I have been a Bell (Canada) customer for my WiFi signal for years, the 5c and its necessary mobility plan, is very recent. Some years ago, Bell supplied its own ‘router’ for my computer, and claimed that it was possible to get their WiFi signal only with the router they supplied. When I recently received the 5c, I wondered if the plan it requires, which is within the much wider, overall Bell zone, could be used somehow to get my Air online - some sort of tethering? - that allows me to give up the Air WiFi service and router all together, but still get the Air connected. Here in Canada, Bell Mobility and other Bell services are very separate. Any suggestions appreciated.

  • Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    You can seach the net for solutions like this one http://appletvvpn.com/how-to-connect-apple-tv-2-to-vpn/ another idea is to use a PC as the control and fit that with a wireless card and set up a ad hoc wireless network that the Apple TV uses. 

  • I have two apple id's. Is there a way to combine them?

    I have two apple id's   Is there a way to combine them?
    I have on id.   xxxx.xxxx@gmail. com (This account in gmail was hacked so I no longer use this id) and this was associated with my first MacBook Pro.
    I purchased another Macbook Pro and set up an ID using [email protected]
    In ITunes....there is music associated with the gmail account that I cannot play.
    Is there a way to combine the two Id's so I can play all my music.   I am keeping the [email protected] id.

    Apple IDs can’t be merged. If desired, click here and ask the iTunes Store staff for assistance.
    (120537)

  • Is there a way to combine the best of slideshow and tooltip widgets?

    I am trying to produce a sliding menu similar to the "Now Playing" movies listed on this website : http://themoviehouse.com/   
    where you can mouse over and a box pops up and stays up so that you can click links within the box. The catch is that I need this box to disappear when the mouse is not on it so that content behind the box is again visable.
    I have seen this on so many websites so I assume can build this in Muse.
    Obviously with tooltip the box does not stay open. With a slideshow, the box does not disappear when you are done.
    Is there a way to combine the two or is there another widget that allows me to create what I am looking for?

    Install the Apple Configurator (osx only) and it will cache the iOS update on there after it's been installed once.  From then on each device you plug-in will take the update from Apple Config without having to download it.  I have this setup on a macbook air and it saves me a lot of time.
    The updates are device specific so make sure you update one iPhone 4, one 4S, one 5, one iPad etc before heading out to sea.  I thought installing the update on an iPhone 4S will work on an iPhone 5 but the first iPhone 5 I connected needed to download.

  • Is there a way to combine multiple pages into a single document?

    In the program "Pages," is there a way to combine multiple pages in a single document?

    Jean Louis Gassee, who used to be a senior Apple executive, wrote on Apple's bad approach to the latest iWork suite:
    https://discussions.apple.com/message/25209121#25209121
    Peter

  • I apparently have 3 apple IDs, and it's making it challenging to set up iCloud. Is there a way to combine them into the one I actually use?

    I apparently have 3 apple IDs, and it's making it challenging to set up iCloud. Is there a way to combine them into the one I actually use?

    You can't combine or merge iCloud IDs, but you can migrate the iCloud data from one account to another if you wanted to move it to a different ID.

  • Is there a way in iTunes to "stich" or combine songs?  Example Journey's Anytime and Feeling That Way are always played together.  Is there a way to combine them so they are not separate songs?

    Is there a way in iTunes to "stich" or combine songs?  Example Journey's Anytime and Feeling That Way are always played together on the radio.  Or ZZ Tops Waitin' For the Bus and Jesus Just left Chicago are always played together. Is there a way to combine them so they are not separate songs?

    Not in iTunes.
    Are these ripped from a CD?
    See hhgttg27s post here
    -> https://discussions.apple.com/thread/6867148
    If not, you will need to use another application to combine them such as this script...
    -> http://dougscripts.com/itunes/itinfo/jointogether.php

  • HT1451 I ripped a 2-cd album to iTunes on my PC.  It downloaded as 5 separate albums.  Is there a way to combine those back into one album?

    I ripped a 2-CD album to iTunes on my PC.  It downloaded as 5 separate albums.  Is there a way to combine those back into the original one album?

    Yes there is tho it may get pretty redundant if you have many 2-CD albums as i had once. Using the "control" key select all five albums. Right click the selected albums and select "Get Info". If this is your first time it may ask you if you are sure you want to edit multiple albums. Click "Yes". Fill in / affirm the correctness of the grid in fron of you. Check all of the boxes BUT THE TRACK #  BOXES AND ARTWORK . This will tell iTunes that all of the albums are one and the same. click "ok". One album with the correct title should appear. Select all the tracks that were on the second disk and again right click and select get info. enter into the disk # space "2" of "2". If your version of iTunes is up-to-date this will make it a 2 disk album. If you would like you get select "Get Info" again just to make sure all is good.
    Hope this helps.

  • Is there any way to get the query used in discoverer from backend??

    Hi All,
    I am new to dicoverer.
    Is there any way to get the query used in discoverer from backend??
    Thanks,
    Sachin

    Hi,
    you can view the SQL from within the discoverer menu:
    in desktop: View-> SQL Inspector
    in Plus: Tools-> Show SQL
    The SQL in the DB tables is encrypted so it's a problem getting it from there.
    You can export the workbook into SQL but it is not working for every worksheet (subquery, inline pivot tables...)
    you can create a batch file to export them all using the output of this script:
    select null,null,'echo off'
    from dual
    union all
    select distinct
    qs.qs_doc_name Workbook_name,
    qs.qs_doc_details Worksheet_Name,
    'start /wait <path>\dis51usr.exe /connect '||'&p_user_name'||'/'||'&p_password'||'@'||'&p_env'||' /apps_user /apps_responsibility "&responsibility" /opendb '||
    chr(34)||qs.qs_doc_name||chr(34)||' /sheet "'||qs.qs_doc_details||'"'||' /export SQL "C:\Export Discoverer SQL\'||qs.qs_doc_name||'-'||qs.qs_doc_details||'.sql" /batch'
    from eul_us.eul5_qpp_stats qs
    where qs.qs_doc_name is not null
    --order by 1,2
    union all
    select null,null,'echo off'
    from dual
    union all
    select null,null,'exit'
    from dual

  • Is there a way of combining a large number of materials into a grouping cod

    Greetings,
    Is there a way of combining a large number of materials into a grouping code, so that and end-user can manage this grouping... adding and removing materials... for auctions?
    The materials will likely span material groups in R/3, and there could be thousands of materials. Shopping cart templates would be cumbersome.
    I was thinking about a special catalog characteristic with defined names to manage the various groups of materials.
    I appreciate any advice... also in awarding points.
    Jessica

    Hi Jessica
    This is my understanding:
    - You want to 'Specially group' materials other than material group. Each special group, may consists of materials from many material groups.
    - User(s) pick materials from this group during 'Auction' creation or 'shopping cart' creation.
    Am I right ?
    Looks like using 'Catalog' is the option.
    - MDM Catalog 'mask' or other Catalogs views to have user specific catalog view
    - Maintenance of this catalog by user could become a problem. Then, you need to give content mgmt rights to user
    Best regards
    Ramki

Maybe you are looking for

  • In Webdynpro abap workflow integrating

    HI,     I have Created one sample workflow now when i click the button in webdynpro i need to run that workflow . I have searched so many articles but iam not clear plz tell me clearly if any articules also .    i need clear steps to integrate workfl

  • How to install Scout in Enligh?

    Hi, I have a French OS (Windows 7 Pro), and wish to install Scout in English. The installer seems to check for the language of the OS instead letting me to choose. Sadly, I can't change the language of my OS... iojeirg

  • Lightroom 5.5 not showing photos after CC update! Showing gray blanks instead!

    I updated LR to 5.5 yesterday through the CC installer. It runs. But no photos could be displayed! All gray blanks! In the Dev Module one could see the historgram normally and play with the slides even. But no photo at all. Just gray previews!

  • Wrongly Closed Posting Period

    Dear Respective SAP Guru's By mistake I have wrongly closed the furture period instead of current period in MMPV transaction ( Close period of material master records). I read SAP notes also for re-open closed period, but i think i am doing something

  • IMac will not power back on. Any ideas?

    I was installing maverick and suddenly my iMac shut down and will not power back on. Any ideas?