Multiple recordsets on a page?

I have a data-driven photo gallery that some of you are
probably sick of
reading about. But, it's coming along nicely, and I'm quite
happy with it.
Ultimately this gallery will contain hundreds of images.
Extracting so many
images from the database to build the gallery page is quite a
lengthy
process, and to manage this, I have broken the images into
separate gallery
categories.
So, the main gallery page will open with a drop-down list of
other galleries
that can be chosen (the list is also data driven). I would
like to adapt
the loading of that list so that if any given gallery is not
currently
populated with images, its name will not appear in the list.
The only way I
can think of to do this would be to place a recordset for
each of those
galleries on the page and test the size of the recordset
before populating
the <select> tag with gallery names. Am I missing
something, or is this
about the size of it? Won't that add a significant burden to
the loading of
the page?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================

> sorry about your data management
Yeah - me too. I'm not ready to tackle that one yet....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Dave Buchholz" <[email protected]> wrote
in message
news:[email protected]...
> <snip>So, the joining table would have a recordID
from the images table,
> and a
> galleryID from the gallery table, right? And then what
would the SELECT
> look like?</snip>
>
> correct
>
> the SELECT would look something like
>
> SELECT DISTINCT galleryName
> FROM ((galleries INNER JOIN jointable USING (galleryID))
INNER JOIN images
> USING (imageID))
>
> sorry about your data management
>
> --
> Dave Buchholz
> I-CRE8
> www.i-cre8.co.uk
> Skype ID: I-CRE8
>
>
>
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>> That would be the way to do it.
>>
>> So, the joining table would have a recordID from the
images table, and a
>> galleryID from the gallery table, right? And then
what would the SELECT
>> look like?
>>
>> But - ugh, this means that I have to revise ALL the
management
>> routines....
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>> ==================
>>
>>
>> "Dave Buchholz"
<[email protected]> wrote in message
>> news:[email protected]...
>>> Why not use a joining table and then you can
associate any image with
>>> any gallery
>>>
>>> --
>>> Dave Buchholz
>>> I-CRE8
>>> www.i-cre8.co.uk
>>> Skype ID: I-CRE8
>>>
>>>
>>>
>>> "Murray *ACE*"
<[email protected]> wrote in message
>>> news:[email protected]...
>>>> Ahh - right, well, it's complicated by the
fact that any given image
>>>> can be assigned to 2 galleries, so there are
two fields - imgsGallery
>>>> and imgsGallery2. The value of imgsGallery2
can be null, but not
>>>> imgsGallery, which must have a value.
>>>>
>>>> --
>>>> Murray --- ICQ 71997575
>>>> Adobe Community Expert
>>>> (If you *MUST* email me, don't LAUGH when
you do so!)
>>>> ==================
>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>>> ==================
>>>>
>>>>
>>>> "Dave Buchholz"
<[email protected]> wrote in message
>>>> news:[email protected]...
>>>>> Assuming the gallery name is a foreign
key in the images table then a
>>>>> recordset with an inner join e.g.
>>>>>
>>>>> SELECT DISTINCT galleryName
>>>>> FROM galleries INNER JOIN images USING (
galleryID )
>>>>>
>>>>> would list only the Galleries which have
images associated with them.
>>>>>
>>>>> I am sure there is probably a more
subtle way of doing this but it
>>>>> works for me :-)
>>>>>
>>>>>
>>>>> --
>>>>> Dave Buchholz
>>>>> I-CRE8
>>>>> www.i-cre8.co.uk
>>>>> Skype ID: I-CRE8
>>>>>
>>>>>
>>>>>
>>>>> "Murray *ACE*"
<[email protected]> wrote in message
>>>>>
news:[email protected]...
>>>>>>I have a data-driven photo gallery
that some of you are probably sick
>>>>>>of reading about. But, it's coming
along nicely, and I'm quite happy
>>>>>>with it. Ultimately this gallery will
contain hundreds of images.
>>>>>>Extracting so many images from the
database to build the gallery page
>>>>>>is quite a lengthy process, and to
manage this, I have broken the
>>>>>>images into separate gallery
categories.
>>>>>>
>>>>>> So, the main gallery page will open
with a drop-down list of other
>>>>>> galleries that can be chosen (the
list is also data driven). I would
>>>>>> like to adapt the loading of that
list so that if any given gallery
>>>>>> is not currently populated with
images, its name will not appear in
>>>>>> the list. The only way I can think
of to do this would be to place a
>>>>>> recordset for each of those
galleries on the page and test the size
>>>>>> of the recordset before populating
the <select> tag with gallery
>>>>>> names. Am I missing something, or is
this about the size of it?
>>>>>> Won't that add a significant burden
to the loading of the page?
>>>>>>
>>>>>> --
>>>>>> Murray --- ICQ 71997575
>>>>>> Adobe Community Expert
>>>>>> (If you *MUST* email me, don't LAUGH
when you do so!)
>>>>>> ==================
>>>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>>>>> ==================
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Similar Messages

  • Problem - Multiple recordsets in one page

    Hi,
    Is it possible to use more than 1 recordset in a single page?
    Dreamweaver acts like there should be no problem, but when I upload
    & test the page I just get an error message saying there's a
    problem processing the requested URL. Each table and field has a
    unique name. I'm using ASP VBScript on Win2000 with Access DB.
    Please help!
    Ian

    The simple answer is yes, multiple recordsets are OK. I'd
    suggest re-posting - explaining what you're trying to do, what the
    errors say and supplying code or a URL so people can see what
    you're doing.

  • OT: More PHP gentle guidance needed - multiple recordsets on a page

    I have a client list - it's segregated by 10 different
    business categories.
    I want to produce an ordered list of clients for each
    category, e.g.,
    Category 1
    client1
    client2
    Category2
    client1
    client2
    What would be the best way to do that? I know I could have 10
    recordsets on
    the page, one for each category, and just loop through each
    one, but I'm
    trying to find a more efficient way of doing that? Or should
    I just go this
    way?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

    :) I don't have to guess.
    Actually, I sent you the wrong part of the file, as well.
    That one is
    designed to seperate and stack on different sides, you needed
    the one column
    layout.
    anyway, i'm tryign to rewrite my stuff with micha's
    suggestion
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > I'm looking at this, and looking at Micha's suggestion.
    Guess which one I
    > like better? 8)
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "crash" <[email protected]> wrote in message
    > news:[email protected]...
    >> Get all records, order by category
    >>
    >> If Category=1
    >> publish
    >>
    >> if previous category is same, keep in same group
    >> if different, end current group, begin new category
    name
    >>
    >> I have code, but currently is a FUBAR'd mess.
    >>
    >> see this page:
    >>
    >>
    http://demo.mediachurch.com/news.php
    that arranges all articles according
    >> to category (group).
    >>
    >> My code, which *really* needs to be fixed (in
    process) and optimized:
    >> I'm currently removing the extra variable names I
    set (to work with
    >> programmer who really didn't like DW recordsets)
    >>
    >> I'll finish this when I get back from lunch, an
    dpost a new copy, bu this
    >> might give you a place to start from.
    >>
    >> //BEGIN TWO COLUMN LAYOUT
    >> if($mcColumns == 2){
    >> $mcCCount = 1;
    >> do {
    >>
    >> //I setup my variable here
    >>
    >> //$mcCCount DESIGNATES WHICH DIV SHOULD BE USED. ODD
    GET LEFT, EVEN GET
    >> RIGHT
    >> if ($mcCCount%2){
    >> $newsDiv = 'groupListlt';
    >> }else {$newsDiv = 'groupListrt';}
    >>
    >> //SEPERATE ARTICLES INTO GROUPS (ARRAGED BY GROUP,
    IF PREVIOUS GROUP
    >> ID($pid) MATCHES CURRENT ($newsgroupID) PUT
    TOGETHER, ETC.
    >> switch($pid) {
    >> case '':
    >> $newsBag = '<div class="'.$newsDiv.'"
    >>
    id="'.$row_rsNewsListing['gName'].'"><h2>'.$newsGroupTitle.'</h2><h3>'.$row_rsNewsListing ['newsTitle'].'</h3><div
    >>
    class="listing">'.$newsContent.'</div><br class="br"
    />';
    >> $mcCCount++;
    >> break;
    >> case $row_rsNewsListing['gID']:
    >> $newsBag =
    '<h3>'.$row_rsNewsListing['newsTitle'].'</h3><div
    >>
    class="listing">'.$newsContent.'</div><br class="br"
    />';
    >> break;
    >> default:
    >> $newsBag = '</div><div class="'.$newsDiv.'"
    >>
    id="'.$row_rsNewsListing['gName'].'"><h2>'.$newsGroupTitle.'</h2><h3>'.$row_rsNewsListing ['newsTitle'].'</h3><div
    >>
    class="listing">'.$newsContent.'</div><br class="br"
    />';
    >> $mcCCount++;
    >> break;
    >> }
    >> $pid = $row_rsNewsListing['gID'];
    >> if(empty($row_rsNewsListing['gID'])){//CHECK IN CASE
    OF NO ARTICLES
    >> TO DISPLAY
    >> $newsBag = '<h2>There are currently no
    articles to display</h2>';
    >> }
    >>
    >> //PRINT OUT WHAT WE'VE COLLECTED
    >> echo $newsBag;
    >>
    >> //EMPTY VARIABLES FOR NEXT LOOP
    >> unset($newsDate);
    >> unset($newsContent);
    >> unset($newsBag);
    >>
    >> } while ($row_rsNewsListing =
    mysql_fetch_assoc($rsNewsListing)); //END
    >> DO WHILE
    >>
    >> if(!$query_rsNewsListing){
    >> mysql_data_seek($rsNewsListing, 0);}//RESET
    RECORDSET TO 0
    >> echo '</div>';
    >> }//END 2 COLUMN
    >>
    >
    >

  • Filtering multiple recordset.

    I have posted 2 more discussions on the forum so i do aplogise but i am unsure the best way to describe what i am looking for
    i have a product page. with links to individual products
    <a href="product-description.php?ID=<?php echo $row_Recordset1['ID']; ?>"><img src="../images/AW/thumbs/<?php echo $row_Recordset1['imageSmall']; ?>"/></a>
    on the product page i need to call in other tables based on the catagory of the product and sizes of the product,
    i have created multiple recordsets joining the table but need help with the filtering of the information
    i have a recordset showing the product information (basics - name, size, price)
    $colname_Recordset1 = "-1";
    if (isset($_GET['ID'])) {
      $colname_Recordset1 = $_GET['ID'];
    mysql_select_db($database_beau, $beau);
    $query_Recordset1 = sprintf("SELECT * FROM beauProd WHERE ID = %s", GetSQLValueString($colname_Recordset1, "int"));
    $Recordset1 = mysql_query($query_Recordset1, $beau) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    i have a recordset to join the size table with the product table
    $colname_Recordset2 = "-1";
    if (isset($_GET['SizeProdID'])) {
      $colname_Recordset2 = $_GET['SizeProdID'];
    mysql_select_db($database_beau, $beau);
    $query_Recordset2 = sprintf("SELECT * FROM beauProd, beauSizes WHERE beauSizes.SizeProdID = beauProd.SizeProdID AND beauProd.SizeProdID = %s", GetSQLValueString($colname_Recordset2, "int"));
    $Recordset2 = mysql_query($query_Recordset2, $beau) or die(mysql_error());
    $row_Recordset2 = mysql_fetch_assoc($Recordset2);
    $totalRows_Recordset2 = mysql_num_rows($Recordset2);
    in the body i have a select list that needs to display the records of all the products in that catagory
    <form id="FormName" action="" method="get" name="FormName">
                <table width="300">
                  <tr>
                    <td><select name="name" class="text" id="selectName">
                      <option value="Select Design">Select Design</option>
                      <?php
    do {
    ?>
                      <option value="<?php echo $row_Recordset1['ID']; ?>"><?php echo $row_Recordset1['name']; ?></option>
                      <?php
    } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
      $rows = mysql_num_rows($Recordset1);
      if($rows > 0) {
          mysql_data_seek($Recordset1, 0);
                $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    ?>
                    </select></td>
                    <td><div align="right">
                      <input type="submit" name="button" id="button" value="select" />
                    </div></td>
                  </tr>
                </table>
              </form>
    and a select list that needs to show the sizes of each product
    <select name="os0" class="text" id="Cos0">
        <option value="select Category">Select Size</option>
        <?php
    do {
    ?>
        <option value="<?php echo $row_Recordset2['SizeProdID']; ?>"><?php echo $row_Recordset2['from'] . " - " . $row_Recordset2['to'] ; ?></option>
        <?php
    } while ($row_Recordset2 = mysql_fetch_assoc($Recordset2));
      $rows = mysql_num_rows($Recordset1);
      if($rows > 0) {
          mysql_data_seek($Recordset2, 0);
                $row_Recordset2 = mysql_fetch_assoc($Recordset2);
    ?>
      </select>
    the way i have it at the moment i cant get either select list to work. CAN ANYONE ADIVSE PLEASE
    thanks in advance

    Jonathan Fortis wrote:
    can these all go into one field?
    No. One field should hold one piece of information.
    Sizes table
    size_id
    size
    1
    0-3 months
    2
    3-6 months
    3
    6-12 months
    4
    12-24 months
    5
    small
    6
    medium
    7
    large
    8
    2 years
    9
    3 years
    10
    4 years
    Categories table
    cat_id
    category
    1
    baby
    2
    toddler
    3
    child
    Products table
    prod_id
    cat_id
    product
    1
    1
    Baby-gro
    2
    1
    Bib
    3
    2
    T-shirt
    Stock table
    prod_id
    size_id
    stock
    1
    1
    50
    1
    2
    0
    3
    3
    35
    3
    4
    20
    3
    8
    23
    3
    9
    0
    3
    10
    15
    In the stock table, prod_id and size_id must be declared as a joint primary key. This ensures that only one record can be created for each combination of product and size.
    There are 50 Baby-gros for 0-3 months in stock. Baby-gros for 3-6 months are normally available, but currently out of stock.
    T-shirts for 6-12 months, 12-24 months, and ages 2-4 are normally available. There is stock for all except age 3.
    [Edited to correct the prod_id values in the stock table]

  • Update multiple records on one page php/mysql

    Hi folks,
    I am trying to adapt a page to offer the option to update multiple records on one page.
    The intention is to edit FAQ categories which are contained in a table with just two fields - the category and an id.
    The page lists each categories in a form with a submit button which is then repeated for each record in the recordset.
    Unfortunately my plan didn't work and only the first record updates as intended.
    Can anyone suggest how I can make it work?
    Here's the code I have so far.
    ************** The Update Code *****************
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if (!isset($mm_abort_edit) || !$mm_abort_edit) {
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
      $updateSQL = sprintf("UPDATE faq_categories SET category=%s WHERE id=%s",
                           GetSQLValueString($_POST['category'], "text"),
                           GetSQLValueString($_POST['id'], "int"));
      mysql_select_db($database_con_mysite, $con_mysite);
      $Result1 = mysql_query($updateSQL, $con_mysite) or die(mysql_error());
      $updateGoTo = "faq-category-edit.php
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $updateGoTo));
    ************** Update Code Ends *****************
    ************** The Form *****************
    <form name="frm_editcategory" id="frm_editcategory" method="POST" action="<?php echo $editFormAction; ?>">
      <?php do { ?>
    <fieldset>
              <input name="id" type="hidden" value="<?php echo $row_rs_faqcategory['id']; ?>" />
              <input name="category" type="text" class="formrightcolumn"  value="<?php echo $row_rs_faqcategory['category']; ?>" />
              <input name="save" type="submit" class="submitbutton" id="save" value="save" />
    </fieldset>
              <input type="hidden" name="MM_update" value="form1" />
       <?php } while ($row_rs_faqcategory = mysql_fetch_assoc($rs_faqcategory)); ?>
    </form>
    ************** The Form Ends *****************
    Cheers
    Dave

    What does debugging tell you? What's the value of each of the variables? Did you try using regular echo statements to monitor what's going on? That's what I always do whenever I am stuck in my PHP coding.

  • How do I attach multiple files from the pages app to my email

    I'm trying to attach multiple documents from the "Pages" app to my email.  I'm using an ipad.  It is only letting me attach one at a time and send each document as individual emails.  I would like to be able to send one email with all 4 documents at the same time.  Any suggestions?
    Another thought- When I go to my gmail app to compose an email, I have the following to send:
    to:
    cc:
    subject:
    But there is not a paperclip to click to attach any documents either.  Is this all connected and something in my ipad settings needs to be adjusted?

    You can only attach one file at a time to email in the Pages app
    You cannot attach files in the mail app. If you want to email a file, you do it from within the app where the file is saved such as what you did with Pages.

  • I am unable to print multiple copies on 1 page

    I have a macbook and I used to be able to print multiple copies on 1 page. It had a selection on the bottom right. Now something has changed with the format. It allows me to select multiple copies, but only prints one.

    Hi,
    In order to print multiple documents on one page, you may follow the steps mentioned below:-
    Press Command+p- Select multiple pages or booklet
    If you are not getting these options, please send us a screenshot to better understand the issue.
    Regards,
    Nakul

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

  • Passing multiple values to another page via a sql report

    Having trouble passing multiple values to another page via a popup SQL report
    I have two fields one called "descr" and another called "Met"
    when I use the code below all works fine and the value of "descr" is passed
    Select '&lt;a href="javascript:popUp2('''
    || 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
    || 'P950_TYPE:'
    || descr
    || ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%"&gt;'
    || descr
    || '&lt;/a&gt;' "Note"
    But when I want to pass another value, all goes bonkers and instead of the value of the field being passed the literal text is passed.
    can someone look at my code below and see what may be wrong
    Select '&lt;a href="javascript:popUp2('''
    || 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
    || 'P950_TYPE,P950_CODE:'
    || descr, Met
    || ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%"&gt;'
    || descr
    || '&lt;/a&gt;' "Note"
    I appeciate your help looking into this
    FYI (Here is the entire SQL for reference)
    With t
    as
    (SELECT
    CASE WHEN KEY = 2 then
    CASE WHEN WCS_CPT &gt; :P940_METRIC_1_WCS_CPT1 then
    '&lt;span style="color:Red; "&gt;'||TO_CHAR(WCS_CPT,'FML999G999G999G999G990D00')||'&lt;/span&gt;' else
    '&lt;span style="color:#399304; "&gt;'||TO_CHAR(WCS_CPT,'FML999G999G999G999G990D00')||'&lt;/span&gt;' end
    else '&lt;span style="color:#180c8b;"&gt;'||TO_CHAR(WCS_CPT,'FML999G999G999G999G990D00')||'&lt;/span&gt;' end "WCSCPT",
    CASE WHEN KEY = 2 then
    CASE WHEN WCS_TOI_PER_FTE &lt; :P940_METRIC_2_WCS_TOI_PER_FTE then
    '&lt;span style="color:Red; "&gt;'||TO_CHAR(WCS_TOI_PER_FTE,'999G999G999G999G990')||'&lt;/span&gt;' else
    '&lt;span style="color:#399304; "&gt;'||TO_CHAR(WCS_TOI_PER_FTE,'999G999G999G999G990')||'&lt;/span&gt;' end
    else '&lt;span style="color:#180c8b;"&gt;'||TO_CHAR(WCS_TOI_PER_FTE,'999G999G999G999G990')||'&lt;/span&gt;' end "WCSTOIPERFTE",
    CASE WHEN KEY = 2 then
    CASE WHEN WCS_SIO_PER_FTE &lt; :P940_METRIC_3_WCS_SIO_PER_FTE then
    '&lt;span style="color:Red; "&gt;'||TO_CHAR(WCS_SIO_PER_FTE,'999G999G999G999G990')||'&lt;/span&gt;' else
    '&lt;span style="color:#399304; "&gt;'||TO_CHAR(WCS_SIO_PER_FTE,'999G999G999G999G990')||'&lt;/span&gt;' end
    else '&lt;span style="color:#180c8b;"&gt;'||TO_CHAR(WCS_SIO_PER_FTE,'999G999G999G999G990')||'&lt;/span&gt;' end "WCSSIOPERFTE",
    CASE WHEN KEY = 2 then
    CASE WHEN WCS_TC_PER_FTE &lt; :P940_METRIC_4_WCS_TC_PER_FTE then
    '&lt;span style="color:Red; "&gt;'||TO_CHAR(WCS_TC_PER_FTE,'999G999G999G999G990')||'&lt;/span&gt;' else
    '&lt;span style="color:#399304; "&gt;'||TO_CHAR(WCS_TC_PER_FTE,'999G999G999G999G990')||'&lt;/span&gt;' end
    else '&lt;span style="color:#180c8b;"&gt;'||TO_CHAR(WCS_TC_PER_FTE,'999G999G999G999G990')||'&lt;/span&gt;' end "WCSTCPERFTE",
    CASE WHEN KEY = 2 then
    CASE WHEN WCS_ADSL_PER_FTE &lt; :P940_METRIC_5_WCS_DSL_PER_FTE then
    '&lt;span style="color:Red; "&gt;'||TO_CHAR(WCS_ADSL_PER_FTE,'999G999G999G999G990')||'&lt;/span&gt;' else
    '&lt;span style="color:#399304; "&gt;'||TO_CHAR(WCS_ADSL_PER_FTE,'999G999G999G999G990')||'&lt;/span&gt;' end
    else '&lt;span style="color:#180c8b;"&gt;'||TO_CHAR(WCS_ADSL_PER_FTE,'999G999G999G999G990')||'&lt;/span&gt;' end "WCSADSLPERFTE",
    CASE WHEN KEY = 2 THEN
    TO_CHAR(MONTH,'MON-YY')
    else
    'METRICS'
    end "MONTH"
    FROM (
    SELECT DISTINCT
    ROW_NUMBER() OVER (ORDER BY KEY DESC) AS ROW_NUM, KEY, WCS_CPT, WCS_TOI_PER_FTE, WCS_SIO_PER_FTE, WCS_TC_PER_FTE, WCS_ADSL_PER_FTE, MONTH
    from TW_M_KEYMETRICS
    WHERE TO_DATE(UPPER(MONTH),'DD/MON/YY') &gt;= TO_DATE(UPPER(:P940_START_OF_THIS_FIN_YEAR),'DD/MON/YY')
    ORDER BY KEY ASC, ROW_NUM, MONTH)
    WHERE ROW_NUM &lt;= :P940_MONTHS_SINCE_FIN_START)
    Select '&lt;a href="javascript:popUp2('''
    || 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
    || 'P950_METRIC_TYPE,P950_METRIC_VALUE:descr,MET'
    || ''
    || ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%"&gt;'
    || descr
    || '&lt;/a&gt;' "Note"
    , max(Met) METRICS, max(Jul) Jul08, max(Aug) Aug08, max(Sep) Sep08, max(Oct) Oct08, max(Nov) Nov08, max(Dec)Dec08, max(Jan) Jan08, max(Feb) Feb08, max(Mar) Mar08, max(Apr) Apr08, max(May) May08, max(Jun) Jun08
    from (
    Select 'Cost Per Transaction' descr,
    decode (MONTH, 'METRICS', WCSCPT) MET,
    decode (MONTH, 'JUL-08', WCSCPT) Jul,
    decode (MONTH, 'AUG-08', WCSCPT) Aug,
    decode (MONTH, 'SEP-08', WCSCPT) Sep,
    decode (MONTH, 'OCT-08', WCSCPT) Oct,
    decode (MONTH, 'NOV-08', WCSCPT) Nov,
    decode (MONTH, 'DEC-08', WCSCPT) Dec,
    decode (MONTH, 'JAN-08', WCSCPT) Jan,
    decode (MONTH, 'FEB-08', WCSCPT) Feb,
    decode (MONTH, 'MAR-08', WCSCPT) Mar,
    decode (MONTH, 'APR-08', WCSCPT) Apr,
    decode (MONTH, 'MAY-08', WCSCPT) May,
    decode (MONTH, 'JUN-08', WCSCPT) Jun
    from t
    union all
    Select 'Total Orders Issued Per FTE' descr,
    decode (MONTH, 'METRICS', WCSTOIPERFTE) MET,
    decode (MONTH, 'JUL-08', WCSTOIPERFTE) Jul,
    decode (MONTH, 'AUG-08', WCSTOIPERFTE) Aug,
    decode (MONTH, 'SEP-08', WCSTOIPERFTE) Sep,
    decode (MONTH, 'OCT-08', WCSTOIPERFTE) Oct,
    decode (MONTH, 'NOV-08', WCSTOIPERFTE) Nov,
    decode (MONTH, 'DEC-08', WCSTOIPERFTE) Dec,
    decode (MONTH, 'JAN-08', WCSTOIPERFTE) Jan,
    decode (MONTH, 'FEB-08', WCSTOIPERFTE) Feb,
    decode (MONTH, 'MAR-08', WCSTOIPERFTE) Mar,
    decode (MONTH, 'APR-08', WCSTOIPERFTE) Apr,
    decode (MONTH, 'MAY-08', WCSTOIPERFTE) May,
    decode (MONTH, 'JUN-08', WCSTOIPERFTE) Jun
    from t
    union all
    Select 'SIOs Per Billing FTE' descr,
    decode (MONTH, 'METRICS', WCSSIOPERFTE) MET,
    decode (MONTH, 'JUL-08', WCSSIOPERFTE) Jul,
    decode (MONTH, 'AUG-08', WCSSIOPERFTE) Aug,
    decode (MONTH, 'SEP-08', WCSSIOPERFTE) Sep,
    decode (MONTH, 'OCT-08', WCSSIOPERFTE) Oct,
    decode (MONTH, 'NOV-08', WCSSIOPERFTE) Nov,
    decode (MONTH, 'DEC-08', WCSSIOPERFTE) Dec,
    decode (MONTH, 'JAN-08', WCSSIOPERFTE) Jan,
    decode (MONTH, 'FEB-08', WCSSIOPERFTE) Feb,
    decode (MONTH, 'MAR-08', WCSSIOPERFTE) Mar,
    decode (MONTH, 'APR-08', WCSSIOPERFTE) Apr,
    decode (MONTH, 'MAY-08', WCSSIOPERFTE) May,
    decode (MONTH, 'JUN-08', WCSSIOPERFTE) Jun
    from t
    union all
    Select 'Total Calls Answered per FTE' descr,
    decode (MONTH, 'METRICS', WCSTCPERFTE) MET,
    decode (MONTH, 'JUL-08', WCSTCPERFTE) Jul,
    decode (MONTH, 'AUG-08', WCSTCPERFTE) Aug,
    decode (MONTH, 'SEP-08', WCSTCPERFTE) Sep,
    decode (MONTH, 'OCT-08', WCSTCPERFTE) Oct,
    decode (MONTH, 'NOV-08', WCSTCPERFTE) Nov,
    decode (MONTH, 'DEC-08', WCSTCPERFTE) Dec,
    decode (MONTH, 'JAN-08', WCSTCPERFTE) Jan,
    decode (MONTH, 'FEB-08', WCSTCPERFTE) Feb,
    decode (MONTH, 'MAR-08', WCSTCPERFTE) Mar,
    decode (MONTH, 'APR-08', WCSTCPERFTE) Apr,
    decode (MONTH, 'MAY-08', WCSTCPERFTE) May,
    decode (MONTH, 'JUN-08', WCSTCPERFTE) Jun
    from t
    union all
    Select 'ADSL Orders per FTE' descr,
    decode (MONTH, 'METRICS', WCSADSLPERFTE) MET,
    decode (MONTH, 'JUL-08', WCSADSLPERFTE) Jul,
    decode (MONTH, 'AUG-08', WCSADSLPERFTE) Aug,
    decode (MONTH, 'SEP-08', WCSADSLPERFTE) Sep,
    decode (MONTH, 'OCT-08', WCSADSLPERFTE) Oct,
    decode (MONTH, 'NOV-08', WCSADSLPERFTE) Nov,
    decode (MONTH, 'DEC-08', WCSADSLPERFTE) Dec,
    decode (MONTH, 'JAN-08', WCSADSLPERFTE) Jan,
    decode (MONTH, 'FEB-08', WCSADSLPERFTE) Feb,
    decode (MONTH, 'MAR-08', WCSADSLPERFTE) Mar,
    decode (MONTH, 'APR-08', WCSADSLPERFTE) Apr,
    decode (MONTH, 'MAY-08', WCSADSLPERFTE) May,
    decode (MONTH, 'JUN-08', WCSADSLPERFTE) Jun
    from t
    GROUP by descr
    Frank

    Borg Species 5618 wrote:
    Having trouble passing multiple values to another page via a popup SQL report
    But when I want to pass another value, all goes bonkers and instead of the value of the field being passed the literal text is passed.
    can someone look at my code below and see what may be wrong
    Select '&lt;a href="javascript:popUp2('''
    || 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
    || 'P950_TYPE,P950_CODE:'
    || descr, Met
    || ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%"&gt;'
    || descr
    || '&lt;/a&gt;' "Note"
    Hi Frank,
    You should close this parameters with single quotation. Try this -
    Select '&lt;a href="javascript:popUp2('''
    || 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
    || 'P950_TYPE,P950_CODE:'
    *|| 'descr, Met'*
    || ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%"&gt;'
    || descr
    || '&lt;/a&gt;' "Note"
    Hope this helps.
    Regards,
    M Tajuddin
    http://tajuddin.whitepagesbd.com

  • I am using CC adobe Acrobat to combine multiple pdfs and add page numbers. Mac users can no longer read the page numbers but pc users can.

    I am using CC adobe Acrobat to combine multiple pdfs and add page numbers. As of about 2 weeks ago the mac users can no longer read the page numbers they get a font error message and see only -- where the page information should be. The pc users do not have this same problem. When I replace our regular font (URW Grotesk) with a system font (Verdana) everyone is able to read the page numbers. This is a new issues, I have been creating these documents in the same way for years without a problem. I have been on hold and on and off calls for the last two hours, I keep getting hung up on once I find someone in adobe support to talk to!

    Hi KnoopL,
    Are the Mac users using Preview to view the pdfs or Adobe Reader?
    Regards,
    Rave

  • One instance of FCKeditor for multiple fields in a page

    How to implement only one instance of FCKeditor (one set of buttons) for multiple textareas in a page?

    Hello,
    Is that possible with the normal FCK Editor?
    I've never seen something like that on any website, but if you find such an example, I can have a look how it's done. If you see it somewhere working, we should be able to make it work in APEX as well.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • Error while trying to process multiple Recordsets in Flat file.

    Hi All,
    I am working on Flat File to Flat File scenario and my structure is as follows.
    Recordset
         Record1
              Field1
              Field2
         Record2
              Field3
              Field4
         |
         Record9
              Field5
              Field6
         I am going to receiver multiple Recordsets from my input and need to pass them as output flat file after doing some manipulations in mapping(I am using Java mapping).
         In Moni I am able to see multiple Recordset XMLs created but the message is failing in receiver communication channel with error
    "Failed to process message content. Reason: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)' (Software version: 3.0.1)"
         When I am trying to pass Single Recordset I am able to see the output, but when I am trying with multiple Recordsets it is throwing error.
         Can anybody help me in finding the root cause to this problem.
         My Receiver channel Content conversion is as follows.
         RecordsetStructure: Record1,Record2, -- - - ,Record9
              Record1.fieldFixedLengths     
              Record1.fieldNames
              Record1.endSeparator so on till Record9
    Regards,
    Jayaram.G

    You might want to check the following things
    Are u specifying field names,separators for Record1,Record2..Record9.
    Is you occurence repeats after record1..record9 again?
    Change your  structure occurence as per the runtime data you provide..
    See whether your java mapping modifies the structure that does not match with fcc configuration. You might want to pay attention over there too.

  • How do I print multiple copies of a page in a PDF File?

    How do I print multiple copies of a page in a PDF File?  For some reason I tell it to print, for example, 3 or 4 copies of a certain page and it will only print one copy!!!

    OS X 10.9.5Adobe Reader 11.0.10
    I increase the number of copies to 3, 4, or 5 (etc.) but it would still only print one copy of the designated page/pages.
          From: pwillener <[email protected]>
    To: Caren Harris <[email protected]>
    Sent: Friday, March 6, 2015 9:17 PM
    Subject:  How do I print multiple copies of a page in a PDF File?
    How do I print multiple copies of a page in a PDF File?
    created by pwillener in Adobe Reader - View the full discussionOperating system?  Reader version? If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7262032#7262032 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7262032#7262032 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Adobe Reader by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Is there a limit on the # of recordsets on a page?

    I am experiencing really flaky DW issues when trying to add a
    5th recordset to a page. Just by adding a simple recordset the page
    then appears blank in a browser. I remove the recordset and it's
    fine. Just a minute ago I tried adding a 5th recordset with the
    name reTest and now the page shows up. I tried to rename rsTest to
    something else and I have the same problem. To make it more fun, I
    added rsTest back to the page and now the page shows up blank. It's
    fair I believe to assume that DW is generating code that is having
    issues. Help please!

    Here is the code from the page that is showing up blank. This
    page worked fine, then I added and deleted the 5th recordset and
    now it shows up blank in the browser.

  • I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics

    I am using a code based typesetting program (not WYSISYG) that outputs PDFs. I am producing 100 plus pages that have multiple graphics on each page. I need to know how to format a PDF command that I can incllude in my programming that will tag my graphics with "Alternative Text".
    I know that with a Microsoft product graphics can be tagged before a PDF is made. I need to know how to do this with my programming.

    The Acrobat SDK might be a starting point.
    From there, perhaps a plug-in (built with C+).
    Perhaps with a licensed release of a PDF Library (this could be $$).
    The viable and cost effective alternative is use the tried and true.
    Authoring in an appropriate authoring application with appropriate tag management.
    Example:  Adobe InDesign; Adobe FrameMaker or MS Word with PDFMaker (comes with install of Acrobat).
    This way you place "Alternative Text" when mastering content in the authoring file.
    Going the route and with some look-see (research) you may find programmatic approaches to placing the alt txt in the authoring file.
    Note: as discussed in the Matterhorn Protocols there is no programmatic method that provides a fully accessible PDF (specifically, that is an ISO 14289-1, PDF/UA-1 compliant PDF).
    Regardless, here you have a sub-forum for discussions on Acrobat usage.
    Consequently discussions on/of 3rd party software is rather out of scope eh.
    Be well...

Maybe you are looking for

  • [SOLVED] Can't get xf86-video-r128 to work...

    Hello! Arch newbie here, so far bumpy, but so far so good. Currently posting from TWM for kicks... Anyways, my old junker of a computer was where I installed arch, so I could get a hang of it. The graphics card is a ATi RAGE XL AGP 2X... having no lu

  • Is there a way prevent multiple downloads of iphone update

    I have an imac with 4 user profiles and 4 iphones tied to itunes (one in each profile).  When there is an update to the iphone, each profile has to download the update.  Is there a way to share the update between the profiles to prevent having to dow

  • Help me please! cant get iTunes after a system restore!

    hello... i had to restore my PC to a later date, hoping that it would help a couple of other problems ive been having, the main one being ALOT of "Timed Out" errors while online... now when i try to open iTunes, i get the error "iTunes Library.itl"..

  • Moving raid 0 from SATA 3, 4 to SATA 1, 2

    Does anyone know if my array will be intact if I switch the SATA ports I am using. Currently using the ones down by Bios reset jumper, and would like to use the ones above the AGP slot for better overclocking.

  • WSUS Upgrade

    Hi,   My WSUS server is running server 2008 R2 with WSUS 3.0 sp2 installed. The server is running fine without any issues. However  I would like to be able to manage WSUS a bit better by upgrading the server from server 2008 R2 to Server 2012 R2. The