Multiple recordsets

The OLE DB Provider for Oracle 8.x has the capacity to get multiple recordsets from a stored procedure. But this future worked slower than getting recordset by recordset, one by one. This was because behind de scene the Provider performed several roundtrips to the database.
Is this problem fixed in the OLE DB provider 9?

OraOLEDB provider had to make round trips to the database to bind the REF Cursor parameters as ADO/OLE DB spec does not include REF Cursor data types. Since there is no change in ADO/OLE DB spec between different Oracle releases, OraOLEDB 9i still has to make these round trips to the database.
However, things change for good with Oracle Data Provider for .NET (ODP.NET). An ODP.NET application binds REF Cursor parameters explicitly avoiding expansive round trips to the database. You can also choose to get the REF Cursor that you want without the overhead of fetching all the previous REF Cursors. ODP.NET beta is available for download on OTN.

Similar Messages

  • 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.

  • 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.

  • Generating multiple recordset names

    Hi All,
    I am doing a scenario which is File to IDOC.
    I am reading a file which is of variable structure , so in FCC i have used the RecordSet Sequence : Variable
    after reading the file i have the structure as
    example:
    - <RecordSet>
    - <W6>
      <WE601 />
      <W602 />
      <W603 />
      <W604 />
      <W605>D</W605>
      </W6>
    - <N1>
      <N101>ST</N101>
      <N102>ZZ</N102>
      <N103></N103>
      <N104></N104>
      <N105>R</N105>
      <N106 />
      </N1>
    - <N4>
      <N401>ST</N401>
      <N402></N402>
      <N403>SD</N403>
      <N404></N404>
      <N405>US</N405>
      </N4>
    - <N1>
      <N101>WH</N101>
      <N102>ZZ</N102>
      <N103>2070</N103>
      <N104> SCS</N104>
      <N105 />
      <N106 />
      </N1>
    - <N4>
      <N401>WH</N401>
      <N402></N402>
      <N403></N403>
      <N404></N404>
      <N405>US</N405>
      </N4>
      </RecordSet>
    But i have to get the recordset name <RecordSet> twice as given below after mapping
    - <RecordSet>
    - <W6>
      <WE601 />
      <W602 />
      <W603 />
      <W604 />
      <W605>D</W605>
      </W6>
    - <N1>
      <N101>ST</N101>
      <N102>ZZ</N102>
      <N103></N103>
      <N104></N104>
      <N105>R</N105>
      <N106 />
      </N1>
    - <N4>
      <N401>ST</N401>
      <N402></N402>
      <N403>SD</N403>
      <N404></N404>
      <N405>US</N405>
      </N4>
      </RecordSet>
    - <RecordSet>
    - <W6>
      <WE601 />
      <W602 />
      <W603 />
      <W604 />
      <W605>D</W605>
      </W6>
    - <N1>
      <N101>WH</N101>
      <N102>ZZ</N102>
      <N103>2070</N103>
      <N104> SCS</N104>
      <N105 />
      <N106 />
      </N1>
    - <N4>
      <N401>WH</N401>
      <N402></N402>
      <N403></N403>
      <N404></N404>
      <N405>US</N405>
      </N4>
      </RecordSet>
    i.e., i am getting 1 recordset after FCC and then after mapping i need to generate 2 recordsets and pass 2 IDOCS.
    Please suggest me how can i generate  multiple recordsets.
    Thanks
    Sai_SHA

    Hi All,
    sorry the requirement is a different one
    I am reading a file which is of variable structure , so in FCC i have used the RecordSet Sequence : Variable
    after reading the file i have the structure as
    - <RecordSet>
    - <W6>
    <WE601 />
    <W602 />
    <W603 />
    <W604 />
    <W605>D</W605>
    </W6>
    - <N1>
    <N101>ST</N101>
    <N102>ZZ</N102>
    <N103></N103>
    <N104></N104>
    <N105>R</N105>
    <N106 />
    </N1>
    - <N4>
    <N401>ST</N401>
    <N402></N402>
    <N403>SD</N403>
    <N404></N404>
    <N405>US</N405>
    </N4>
    - <N1>
    <N101>WH</N101>
    <N102>ZZ</N102>
    <N103>2070</N103>
    <N104> SCS</N104>
    <N105 />
    <N106 />
    </N1>
    - <N4>
    <N401>WH</N401>
    <N402></N402>
    <N403></N403>
    <N404></N404>
    <N405>US</N405>
    </N4>
    - <W6>
    <WE601 />
    <W602 />
    <W603 />
    <W604 />
    <W605>D</W605>
    </W6>
    - <N1>
    <N101>WH</N101>
    <N102>ZZ</N102>
    <N103>2070</N103>
    <N104> SCS</N104>
    <N105 />
    <N106 />
    </N1>
    - <N4>
    <N401>WH</N401>
    <N402></N402>
    <N403></N403>
    <N404></N404>
    <N405>US</N405>
    </N4>
    </RecordSet>
    But i have to get the recordset name <RecordSet> twice , as the file is of variable structure i cannot go for RecordSet Sequence : Ascending .
    - <RecordSet>
    - <W6>
    <WE601 />
    <W602 />
    <W603 />
    <W604 />
    <W605>D</W605>
    </W6>
    - <N1>
    <N101>ST</N101>
    <N102>ZZ</N102>
    <N103></N103>
    <N104></N104>
    <N105>R</N105>
    <N106 />
    </N1>
    - <N4>
    <N401>ST</N401>
    <N402></N402>
    <N403>SD</N403>
    <N404></N404>
    <N405>US</N405>
    </N4>
    - <N1>
    <N101>WH</N101>
    <N102>ZZ</N102>
    <N103>2070</N103>
    <N104> SCS</N104>
    <N105 />
    <N106 />
    </N1>
    - <N4>
    <N401>WH</N401>
    <N402></N402>
    <N403></N403>
    <N404></N404>
    <N405>US</N405>
    </N4>
    </RecordSet>
    - <RecordSet>
    - <W6>
    <WE601 />
    <W602 />
    <W603 />
    <W604 />
    <W605>D</W605>
    </W6>
    - <N1>
    <N101>WH</N101>
    <N102>ZZ</N102>
    <N103>2070</N103>
    <N104> SCS</N104>
    <N105 />
    <N106 />
    </N1>
    - <N4>
    <N401>WH</N401>
    <N402></N402>
    <N403></N403>
    <N404></N404>
    <N405>US</N405>
    </N4>
    </RecordSet>
    i am getting 1 recordset after FCC but i need to get 2 recordsets.
    Please suggest me how can i generate multiple recordsets and pass and pass mutilple IDOCS.
    Thanks
    Sai_SHA.

  • Multiple Recordsets and the Oracle OleDB Provider

    We are trying to return multiple recordsets from an Oracle SP through the Oracle oledb provider using VB. First of all, is this possible and is there any example code out there. Having trouble finding some info on this.
    Thanks

    After reading install guide I figured out waht might be the problem.
    I put OLEDB install into the same home (ora81).
    It was suppose to go into different home directory (ora92).
    Also, OLEDB is one of few components which can't exist in more then one
    home dir on single machine. Installer knows that, and skips install of
    OLEDB provider itself. So in my case I had to first uninstall OLEDB provider 8.1.7
    and then install OLEDB provider 9.2
    Thanks,
    ...dejan

  • 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]

  • Getting Multiple Recordsets using A Single Connection using jdbc-odbc

    I have a java application which uses sql 7.0 database server. I want to have multiple recordsets created using a single connection using jdbc-odbc bridge. Kindly let me know the procedure.

    Well, you create a recordset, then you create another one, and so on. Are you actually having a problem or you just don't know where to start?

  • Error:  Current provider does not support returning multiple recordsets from a single execution

    Hello,
    The following piece of code which has been working for the
    past five years suddenly started giving me the following error:
    Current provider does not support returning multiple recordsets
    from a single execution
    We have recenlty moved this site to a new server. Could this
    error be related to their CFAdmin settings? Eveything else on the
    site seems to be working fine. Or am I using an outdated tag or
    something?
    Any light in this direction is appreciated, thanks.
    Here's the code:

    There doesn't seem to be anything that seems wrong with the
    code. It might have something to do with the Max Pooled Statements
    or Number of Connections settings in the CF Administrator, but it
    could just as easily have something to do with a setting on the
    database. I would check with your provider.

  • File conversion - Multiple recordsets

    Dear All
    I am trying to convert a file in the Sender File Adapter that has more than one recordsets but I cant find the solution. The adapter gives the option of recordset numbers but how can I define them?
    To make it simple my file conversion result has the following format:
    <recordset_header> 
    ...      <DateTime>
    .......                <Date>21Oct20010</Date>
    .......                <Time>12:30</Time>
    ...      </DateTime>
    ...      <ID>
    .......                <Number>123</Number>
    .......                 <Name>AcmeCo</Name>
    ...      </ID>
    </recordset_header>
    <recordset_Item>
    ...        <Serial_ID>
    .......                  <product_code>234</product_code>
    .......                  <product_name>laptop</productName>
    ...         </Serial_ID>
    ...         <Description>
    .......                   <Category>Electronics</Category>
    .......                   <Country>Greenland</Country>
    ...          <Description>
    <recordset_Item>
    Thank you in advance.
    Haik
    Edited by: Haik Nazarian on Sep 17, 2008 7:29 AM

    Thank you for the quick reply Kummari
    The recordset per message parameter works for me when I have multiple but identical recordset structure.
    So you define one recordset structure and it works.
    however in this case there are two different recordsets in a single file i.e. recordset_header and recordset_item.
    So I need to define the recordset structures for each individual recordset in teh same file adapter.
    Is this achievable?
    regards
    Haik

  • Help with multiple recordsets and pulling an ID value (ASP)

    I started this discussion when first developing my project and posted on the General Tab.  I have figured out that issue (trying to get my Insert to work in ASP) but now am having trouble retrieving an ID value.  It should be simple.  I want to insert a new record into a single table and want to create a unique ID field.  I am using SQL Server and tried the Identity setting but won't be able to have admin privileges which are required to set the ID.  So, I'd like to just take the ID value from the last record and just add '1' to it to get a new unique ID manually. My INSERT portion was working, so I just decided to query the records to retrieve the last CatalogID and add '1' to get my new ID.  But it's not working!  I tried opening both a command and a recordset, but get various errors on invalid command use. 
    Any help would be great!  I'm new to all of this!
    I've posted a code snippet of what I thought I should do:
    <%LANGUAGE = “VBSCRIPT” CODEPAGE=”65001”%)
    <!--#include file=”Connections/CapConnect.asp”” -->
    <%
    If (Cstr(Request(“MM_insert”)) = “form1”) Then
                    Dim MM_editCmd
                    Dim MM_Lookup
                    Dim NextCatalogID
                    Set MM_Lookup = Server.CreateObject (“ADOB.Recordset”)
                    MM_Lookup.ActiveConnection = MM_CapConnect_STRING
                    MM_Liikup.Source = “Select CatalogID From dbo.tblCatalogItems ORDERBY CatalogID Ascending”
                    MMLookup.Open
                    MM_Lookup.MoveLast
                    NextCatalogID = MM_Lookup.Fields(“CatalogID”) + 1   'this is supposed to be my new ID value
                    Set MM_Lookup = Nothing
                    Set MM_editCmd = Server.CreateObject(“ADOB.Command”)
                    MM_editCmd.ActiveConnection = MM_CapConnect_STRING
                    MM_editcmd.CommandText = “INSET INTO dbo.tblCatalogItems (CatalogID, ModelName, Description, POCName, [POCPhone]) VALUES (NextCatalogID, ?,?,?,?)
                    MM_editcmd.Prepared = True
                    MM_edit.Parameters.Append MM_editcmd.CreateParameter(“param2”, 202, 1, 100, Request.Form(“modelname”) )
                  MM_edit.Parameters.Append MM_editcmd.CreateParameter(“param3”, 202, 1, 300, Request.Form(“Description”) )
    [Subject line edited by moderator to add server model]

    Ok, you've got lots of problems. First, explain again why you are not able to modify the CatologID to be an identity column? What is the datatype of that column now?
    Next, you are going about selecting your recordset incorrectly. If you are just looking for the last value inserted, there is no need to return all values to the recordset. Just select the max value:
    MM_Liikup.Source = “Select MAX (CatalogID) From dbo.tblCatalogItems”
    Next, you have a typo in your insert statement "“INSET INTO" should be "INSERT INTO"
    Next, your CommandText is wrong. There is no ending quote, and NextCatalogID will be treated as a string literal, not a variable. Use a ? placeholder for it and use the CreateParameter method to populate it.
    Next, your command text includes 4 placeholder, but you are only populating 2.
    But even when you get this to work it will be problematic. What happens when 2 users execute this at the same time? They both read the same value for the max record and increment by one, but the first will succeed and the second will fail. That's why it is always better to use an auto increment (Identity) column.

  • Multiple Recordset names in File conversion

    Dear All
    I have a complex file format that I am trying to convert into XML using the File Adapter.
    - the file as a header in line 1. The header has fields
    - then there are a variable number of message each message has a header, body and trailer each of them have a number of fields
    - the file is concluded by a file trailer.
    I am thinking that there is a need of 3 recordset names. 
    Can anybody advise the how can I do this?
    e.g.
    FileHeader
          ID, date, File name
    MessageHead
                        ID,name,type
    MessageContent
                        ID,username,userlastname
    MessageTrailer
                        ID,messageSequence
    MessageHead
                        ID,name,type
    MessageContent
                        ID,username,userlastname
    MessageTrailer
                        ID,messageSequence
      Filetrailer
                       ID,numberOfMessages
    In XML the structure will be something as below which will require more than one Recordset Name.
    < MessageType>
                  <RecordSet_HEAD>
                           <Fileheader>
                              <value1>value</value1>
                               <value2>value</value2>
                            </Fileheader>
                    <RecordSet_HEAD> 
                    <RecordSet_MESSAGE>
                            <MessageHead>
                                <value1>value</value1>
                               <value2>value</value2>
                             </ MessageHead>
                           <MessageContent>
                                <value1>value</value1>
                               <value2>value</value2>
                             </ MessageContent>
                           <MessageTrailer>
                                <value1>value</value1>
                               <value2>value</value2>
                            </ MessageTrailer>
                            <MessageHead>
                                <value1>value</value1>
                               <value2>value</value2>
                             </ MessageHead>
                           <MessageContent>
                                <value1>value</value1>
                               <value2>value</value2>
                             </ MessageContent>
                           <MessageTrailer>
                                <value1>value</value1>
                               <value2>value</value2>
                            </ MessageTrailer>
                  <RecordSet_TRAILER>
                           <FileTrailer>
                              <value1>value</value1>
                               <value2>value</value2>
                            </FileTeader>
                    <RecordSet_TRAILER> 
    < /MessageType>
    Edited by: Haik Nazarian on May 1, 2008 7:16 AM

    Thanks for the answer. It sheds some light on the issue.
    Based on the answer it is not possible to do a complex conversion at the adapter level. I am trying to convert an incoming Plan file.
    Therefore I need to convert it on the sender file adapter i.e PlainTo XMLConversion. If it is not possible to do that than if I understand correctly it won't be possible to do the message mapping.
    Is there a work around?
    On teh other hand The File Head and file trailer are not that vital. I might even try to ignore them during the conversion.
    It is easy to ignore the file head with the "Document Offset" option but I couldnt find a way to ignore the file Trailer.
    Any ideas?
    thank you

  • 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
    >>>>>> ==================
    >>>>>>
    >>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • 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
    >>
    >
    >

  • RFC 2 RFC multiple recordsets into one recordset

    Hi,
    working on an rfc2rfc scenario where I get 4 export parameters and 3 tables.
    I need to map it to an rfc which consists of several parameters and only one table.
    Source Structure looks like this:
    - <rfc:Z_RFC_test_source>
    xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <MXFRUNID>0000001839</MXFRUNID>
      <PAKCOUNT>00001</PAKCOUNT>
    + <ZMXFX00476_1>
    - <item>
      <ZSH_OUTNUM_EL004>0002</ZSH_OUTNUM_EL004>
      <ZSH_RAFF_ELE005>BASEL</ZSH_RAFF_ELE005>
      </item>
    + <item>
      </item>
    + <item>
      </item>
      </ZMXFX00476_1>
    + <ZMXFX00476_2>
      <NUMMER003>0003</NUMMER003>
      <ORGANISATION004>ESSO</ORGANISATION004>
      </item>
    + <item>
      </item>
    + <item>
      </item>
      </ZMXFX00476_2>
    - <ZMXFX00476_3>
    - <item>
      <MANDT>400</MANDT>
      <RUNID>0000001839</RUNID>
      <PACKAGEID>00001</PACKAGEID>
      <LINENUMBER>00001</LINENUMBER>
      <MANDT002>400</MANDT002>
      </item>
    + <item>
      </item>
    + <item>
      </item>
      </ZMXFX00476_3>
      </rfc:ZSH_RFC_test_source>
    Traget structure looks like
    - <rfc:Z_RFC_test_target>
    xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <MXFRUNID>0000001839</MXFRUNID>
      <PAKCOUNT>00001</PAKCOUNT>
    + <ZMXFX00476_all>
    - <item>
      <Data>400,0000001839,00001,00001</Data>
       </item>
    + <item>
      <Data>400,0000001849,00003,00002</Data> 
      </item>
    + <item>
      </item>
    + <item>
      </item>
      </ZMXFX00476_all>
      </rfc:ZSH_RFC_test_target>
    So basically at mapping I need to fill 3 tables into 1 table.
    Any idea how to implement this without BPM?
    Best regards,
    Sebastian

    Currently i dont have access to NWDS...so i will be able to get u some tips and help on blogs:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/b1/83a09f668320419dbe00a741e0fe6a/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/b1/83a09f668320419dbe00a741e0fe6a/content.htm</a>
    <a href="/people/stefan.grube/blog/2005/12/30/test-user-defined-functions-for-the-xi-graphical-mapping-tool-in-developer-studio:///people/stefan.grube/blog/2005/12/30/test-user-defined-functions-for-the-xi-graphical-mapping-tool-in-developer-studio

  • Multiple tables in a recordset.

    Hi all,
    I have got a bit stuck with creating an advanced recordset that calls from multiple sub tables. I have created the SQL statement below (originally used inner joins but the code got too long and still didn't work).
    SELECT *
    FROM Main_Table, Table_1, Table_2, Table_3, Table_4, Table_5, Table_6, Table_7, Table_8, Table_9, Table_10, Table_11, Table_12, Table_13, Table_14, Table_15
    WHERE
    (((((((((((((((((Main_Table.ID_1 = Table_1.ID_1),
    Main_Table.ID_2 = Table_2.ID),
    Main_Table.ID_3 = Table_3.ID),
    Main_Table.ID_4 = Table_4.ID),
    Main_Table.ID_5 = Table_5.ID),
    Main_Table.ID_6 = Table_6.ID),
    Main_Table.ID_7 = Table_7.ID),
    Main_Table.ID_8 = Table_8.ID),
    Main_Table.ID_9 = Table_9.ID),
    Main_Table.ID_10 = Table_10.ID),
    Main_Table.ID_10 = Table_11.ID),
    Main_Table.ID_11 = Table_12.ID),
    Main_Table.ID_11 = Table_13.ID),
    Main_Table.ID_11 = Table_14.ID),
     Main_Table.ID_12 = Table_15.ID),
    AND cust_id = colname
    The idea is to get some text values from the sub tables by passing through the relevant ID of the main table to the sub tables ID. To add to the complexity the "cust_id = colname" is a passthrough from a prior page that only brings up a specific record from the main table. Further complexity may come where the two bolded sections are using a single ID from the main table to call from multiple sub tables.
    Ideally at the end of this I just want to pull the value from the recordset and drop into the page design. The page is PHP and the database/web server is using WAMP, if that helps?
    I feel i'm so close (but i'm probably nowhere near!). Can anyone help me before I lose my hair and develop a nervous tick? Unfortunately, I am still a bit of a novice with these things, so if it's my syntax or a coding issue please could you explain it in noob terms for me?
    Thank you in advance!

    The database was an access DB of 1 main table and 15 related tables that was then converted to MYSQL. The idea is that it will serve two purposes from web pages setup to point to it;
    1) To add records to the main database with dropdowns. Certain data will be shown depending on the dropdown selected.
    2) To show a data-only details screen.
    The data is complicated survey data and it was decided that the main table would store the variables and the sub tables would store the constants (Between 2 to 6 records) using the ID to link them.
    e.g.
    Name = Main table.name
    Address = Main table.address
    Position = Table 2.position
    Department = Table 2.Department
    etc...
    Have tried the AND statement above but the system just times out.
    Would it be easier to create multiple recordsets (15 recordsets of 1 main table and 1 sub table) and link it somehow to the cust_id? If so, how would I best set each up so only the relevant fields are pulled from the sub table for each recordset? Or am I being to adventerous and should I just give up and flatten the tables to 1 single table?
    Am starting to thin up top with this one! lol!

Maybe you are looking for

  • Iomega 500gb HDD Tv recording

    I bought an Iomega 500 gb HDD, & in the instruction manual it tells me to use disk utility if I have a mac to reformat from NTFS to Mac os x journaled. Now I just want to know that if I do reformat, will I be able to record tv on my sony bravia tv wh

  • I cant accept the therms and conditions. There is no accpet button

    I cant accept the therms and conditions. There is no accpet button. please help me so i can download apps!!!!!!!!!!!!

  • Can't import package from package

    Ok, here's the deal: In a folder i have some class files, and some packages i made myself. lets say one package is package1, and the other is package2 now in the root folder i can have a class file that has the statement import package2.*;and it work

  • Regarding F-28 and IDOC_INPUT_FIDCC1

    Hi all, I'm now starting to work on this IDOC_INPUT_FIDCC1. Can I know is there any way to create a IDOC that I can test run in this FM with we19? I need a IDOC so that I can test on this FM but currently I don't have any, therefore need to create on

  • Powerbook Won't Start Up

    I've had my PowerBook for approximately 3 years now. Yesterday, while working on it, it froze up completely. Mouse would not move, no spinning wheel, nothing. I reset via the power button. As it launches, I get the gray screen and the apple, but all