Dynamic List of record subsets with a Many-to-many relationship

I'm feeling pretty lost here and would appreciate any pointers.
I'm trying to use ADDT to create a dynamic list of records that includes a subset of comma separated list of many-to-many related records. Specifically I'm listing a bunch of workshops that have various teachers associated with each workshops. Teachers team teach a variety of workshops, thus the need for a many-to-many link table.
I've created a basic query to retrieve the workshop list, then another query to return the teacher's associated with the workshops. However I can't figure out how to use ADDT to list the teachers for each workshop.
I have a sense that it has something to do with a nested repeat region but there does not seem to be a way to get the wizard to see beyond the link table.
Am I way off here?
Thanks!

Hi,
a list used in the singleSelectOne component does not change or set the currency in the list VO (in opposite to the navigation list). So this synchronization needs to be done programmatically. Examples of dependent list of values are available here
--> example 62 http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
--> word document you can download from http://thepeninsulasedge.com/frank_nimphius/2008/05/16/blogbuster-treasures-hunt-blog-entries-from-the-lost-orablogs-blog-for-download/
Frank

Similar Messages

  • Dynamic List for IC accounts with attrribute of R

    Hi,
    I'm trying to create a dynamic account list for all IC equity accounts. When using HS.Account.IsICP =True, the list does not include a couple of accounts that are set as "R" in the metadata? Does anyone know how to handle this?
    I am working in HFM v 11.1.2.
    Thanks

    Thanks for the suggestion. I got a suggestion from tech support to replace "If HS.Account.IsICP(AcctLi(i)) = True Then" with "if (strcomp(Hs.Account.isICP(AcctLi(i)),"True",vbTextCompare)=0) then" and this seems to have solved the issue. I'm not sure why the first statement would not have picked up the "R" but I'm not going to argue with success. Here is the text for the dynamic list to pick up all intercompany balance sheet accounts used in the equity classification for cash flow analysis in case it helps anyone:
    AcctLi=HS.Account.List("BalanceSheet","[Base]")
                   For i = Lbound(AcctLi) to Ubound(AcctLi)
                   C2Acct = HS.Account.C2Top(AcctLi(i))
                   If UCase(Left(C2Acct, 6)) = "EQUITY" Then
                   if (strcomp(Hs.Account.isICP(AcctLi(i)),"True",vbTextCompare)=0) then
                        HS.AddMemberToList AcctLi(i)
                   End if 'Hs.account.ISICP
                   End if 'UCase
                   Next

  • Recording problems with ipod nano - too many voices reading audiobook

    I have tried listening to two audiobookks on my ipod nano (6G) but the reader's voice  is subject to an identical part-second later echo which makes it all but impossible to understand what he is saying - any suggestions as to the cause of this fault and (hopefully) how to remedy it - thanks,        Peter

    "I'm posting this message hoping that an Apple employee will read it."
    Unlikely.
    Use this form.
    iPod Feedback.

  • How to add a column to a list created with the Dynamic List Wizard to display the values of the fiel

    Hi,
    ADDT, Vista, WAMP5.0
    We have 2 tables: clients_cli (id_cli, name_cli, tel_cli, and several more fields) and cases_cas (id_cas, idcli_cas, court_cas, and a lot of other fields).
    Clients may have many cases, so table cases_cas have a foreign key named idcli_cas, just to determine which case belongs to which client.
    We designed the lists of the two tables with the Dynamic List Wizard and the corresponding forms with Dynamic Form Wizard.
    These two forms are linked with the Convert Dynamic List and Form Wizards, which added a button to clients list named "add case".
    We add a client and then the system returns to the clients list displaying all clients, we look for the new client just added and then press "add case", which opens the Dynamic Form for cases, enter all case details and everything processes ok.
    However, when we view the cases list it display all the details of the case, including the column and values for the foreign key idcli_cas. As you can image, it is quite difficult for a human to remember the clients ids.
    So, in the cases list we added a another column, named it Name, to display the names of the clients along with cases details. We also created another recordset rsCli, selected the clients_cli table, displaying all columns, set filter id_cli = Form Variable = idcli_cas then press the Test button and everything displays perfect. Press ok.
    Then, we position the cursor inside the corresponding cell of the new Name column, go to Bindings, click on name_cli and then click on insert. The dynamic field is inserted into the table cell as expected, Save the page, and test in browser.
    The browser call the cases list but fails to display the values of the Name column. The Name column is simply empty.
    This issue creates a huge problem that makes our application too difficult to use.
    What are we doing wrong?
    Please help.
    Charles

    1.     Start transaction PM01, Create Infotype, by entering the transaction code.
    You access the Create Infotype screen.
    2.     Choose List Screen.
    3.     In the Infotype no. field, enter the four-digit number of the infotype you want to create.
    When you specify the infotype number, please remember to enter any leading zeros.
    4.     In the Screen Number field, enter the screen number of the list screen you want to enhance.
    5.     Choose Create.
    The Dictionary: Initial screen appears:
    6.     Create the list screen structure.
    7.     Choose Activate.
    8.     Return to the Enhance List Screen in the Enhance Infotypes transaction (PM01).
    9.     Choose Create All.
    The additional fields are displayed on the list screen, however, they contain no data.
    The fields can be filled in the FORM routine FILL-LISTSTRUCT in the generated program ZPnnnn00. The FORM routine is called for each data record in the list.
    Structure ZPLIS is identified when it is generated with a TABLES statement in the program ZPnnnn00.
    The fields can be filled from the Pnnnn structure or by reading text tables.

  • How to filter results from 4 dynamic list menus depandant on how many of them are selected

    I have a search page with a form with 4 list menus and 1 submit that post the results to the results page. I can create a record set that either retrieves the correct data from my database if a selection is made from all four menus Or i can create the recordset if only 3 menus have a selection or the same for 2 menus and 1 menu. However i want the user to be able to make a selection from either 1, 2, 3 or all 4 of the menus and the exact data be retrieved. At present if i try to combine the recordset using AND and ORs the results are not specific enough, for example the 4 menus are Location, Type, Price & Style if a user selects from all 4 i only want to retrieve data that matches all 4 criteria, but at the same time if the user selects only 2 of the menus the i want it to retrieve data that matches specifically those 2 variables. I´m not actually sure if i should be creating a more advanced sql query of if its the php side of things that i need to look at. This is my first dynamic site so please be aware i´m still a learner where php and sql is concerned. Please can anyone help?  

    Hey there,
    Thanks for replying,
    I too am using Dreamweaver recordset, my local server is XAMPP ( apache php mysql), i´have pasted my sql recordset below to give an idea of what i´m trying to do, however this does not work as i´m trying to select the exact data based on 4 menus PRICE TYPE LOCATION and BEDS, and also want the search to work if the user only selects options from either 1, 2, 3 or 4 of the menus, with the code as it is if the user select only two options from 2 of the menus the results don´t just find (for example) all results for location AND price they find all results for the location varibale OR the price variable rather than a match for both, if you see what i mean?
    Any suggestions?  
    SELECT trueprice,`desc`, `propid`, `bathrooms`, `photo1`, locationtable.loc, typetable.style, bedtable.`number`
    FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid
    WHERE (location=varloc AND price = varprice AND type=vartype AND beds=varbed ) OR (price=varprice AND location=varloc AND type=vartype) OR  (price=varprice AND location=varloc AND beds=varbed) OR (price=varprice AND beds=varbed AND type=vartype) OR  ( location=varloc AND type=vartype AND beds=varbed) OR  (price=varprice AND location=varloc) OR (price=varprice AND type=vartype) OR (price=varprice AND beds=varbed) OR (type=vartype AND location=varloc) OR (type=vartype AND beds=beds) OR (location=varloc AND beds=varbed) OR (price = varprice OR beds=varbed OR type=vartype OR location=varloc)
    ORDER BY detailstable.trueprice ASC
    Look forward to receiving your thoughts,
    Linda
    Date: Wed, 21 Oct 2009 14:36:33 -0600
    From: [email protected]
    To: [email protected]
    Subject: how to filter results from 4 dynamic list menus depandant on how many of them are selected
    Hiya,
    I'm just doing my first dynamic site too, and am at a similar level to yourself.
    Can you give us more info re the site. What software, eg Dreamweaver etc are you using, and is your server using PHP or ASP etc?
    For what I've used, I amended the SQL side of things in the recordset in Dreamweaver. That way, you can test the SQL as you're setting up the recordset.
    Let me know how you're going on anyway
    Cheers
    Andy
    >

  • WebService get list 750 records with 8 columns in mx:DataGrid atleast 2 minutes

    I am using WebService (ASP.NET) to get a list of customers (around 750) records with 8 columns using mx:DataGrid. It takes to list data in the mx grid atleast 2 minutes from offline development data server[SQL SERVER 2005]. It could be better if the list populate the datagrid with-in 1 minute. I didn't find how to resolve the problem. My WebService returns the ArrayCollection within 1 minute.
    Any hints would appreciate!
    T. Ghosh

    It doesn’t matter how many records, what matters is how many attributes and sub-objects.  One customer returned 100 records, each with a transaction history of some 10,000 transactions, although the transactions were not displayed in the datagrid (it would be later in the detail view).  Then the app was configured to convert the records to typed objects.  As one would expect, it took forever.  You might have to create a custom converter or just use the SOAP/XML.

  • Insert record behavior and multiple dynamic lists

    I have a complex form that contains an insert record
    behavior. Some of the fields are dynamic lists. My database has a
    table to hold the static fields from the form and a number of
    tables to hold the results from each dynamic list. I have the first
    form and another form for review purposes. On the review form I am
    getting an "Invalid argument supplied for foreach()" for each table
    I try to insert the dynamic list results into. My investigation
    leads me to believe that the arrays from the first form are being
    subsumed by the actual insert action and that when my review form
    is called, the arrays ($_POST) are no longer there. How do I ensure
    that the arrays being set in part 1 of the Insert record behavior
    will still be around for the review form? Any time I try to insert
    code into the actual insert code, Dreamweaver duplicates the
    behavior and tells me it can't decide which one to use.

    So it appears that I'm not the only person with this problem.  One of the solutions I found was to use a Server.Transfer     Server.Transfer("thank_you.asp")
    instead of a Redirect.
    This works however, now my form validation is broken.

  • Referencing a "checked record" from my ADDT Dynamic List using a SPRY Menu

    I have just posted a Beta of my site to:
    http://www.clearwave.biz/Beta/T1COElogin.cfm
    - Username is: Beta
    - Password is: 123
    - Once you are logged in you should see the ADDT list w/one
    order listed.
    - Click on the Printer icon & the Order Agreement will
    open in PDF. (this works fine)
    - Click on the InfoSheet link & the Report will open in
    PDF as well. (this works fine)
    - Everything works fine if you use the links on the same line
    as the record.
    - But if you check the CheckBox on the left, then choose the
    Spry Menu above, Reports/T1 Agreement the report will not work?
    Question: What should the Link be to reference the checked
    item below, pass the CustID value to the report & print the
    PDF?
    (Note: the CF report has the following line in the SQL:
    (tblT1OrderProcessing2.T1CustID = #param.T1CustID#) and the report
    prints fine in Report Builder if I pass it the T1CustID, as well as
    if I click the links on the same line as mentioned above, so this
    is just an issue of grabbing the CustID value from the checked line
    & passing it to the report link in the Spry menu)
    Here is a visual picture of my Dynamic List page:
    http://cerberus.clearwave.com/jerry/Order_Management_Main_Page.jpg
    Thanks in advance for the help,
    jlig

    Here is the Report URL that works perfectly when clicking the
    Printer icon on the right of my List:
    http://www.clearwave.biz/Beta/reports/T1_Service_Agreement.cfm?T1CustID=1508
    and the link to the InfoSheet:
    http://www.clearwave.biz/Beta/reports/T1_Information_Sheet.cfr?T1CustID=1508
    Both of these work perfectly by grabbing the T1CustID value
    of 1508 from the line.

  • Dynamic List to Update Field in  Record

    Hello,
    I have created an Update page in CS5.5 and have added a dynamic list to update a field in the record. Now I am stuck. How do I modify the code in the menu to have it update the field? 
    <select name="cemeteryID">
    <?php do {  ?>
    <option value="<?php echo $row_cemeteryList['cemeteryID']?>"<?php if (!(strcmp($row_cemeteryList['cemeteryID'], $row_cemeteryList['']))) {echo "selected=\"selected\"";} ?>><?php echo $row_cemeteryList['cemetery']?></option>
                  <?php
                  } while ($row_cemeteryList = mysql_fetch_assoc($cemeteryList));
                  $rows = mysql_num_rows($cemeteryList);
                  if($rows > 0) {
                  mysql_data_seek($cemeteryList, 0);
                  $row_cemeteryList = mysql_fetch_assoc($cemeteryList);
    ?>
    </select>
    Thanks!

    I figured it out.  Suprised that no one responded - oh well.

  • SQL query alias names errors with dynamic lists

    Hullo,
    Problem:
    - Made a query form book database. Have authors in separate table with unique ID's referring to them on book table.
    - Query fetches author name in "Surname, Firstname initial.Secondfirstname initial" format, --> like "Bukowski, H.C" and giving that combo alias name in SQL like "AS 'author'"...
    - Dynamic list works fine at start, but when ordered from detail table back to the mainlisting, it does make an error with SQL stating "unknown column 'author' in where clause"
    That must be because the script looks for "author" column from the original table yeah, but how can I solve this? Any ideas? Does this mean that Alias names for columns are not possible or is there something i've missed?
    Any ideas, suggestions?
    Thanks,
    KimmoK

    Hi Kimmo,
    ADDT´s dynamic lists can handle alias columns fine to my experience, but I reckon that you most probably applied the "CONCAT(...) AS author" query modification after having generated the list, and the list´s internal WHERE clause seems to have no clue of this alias column.
    You can get an idea about using alias columns in Dynamic Lists in my tutorial "Dynamic Lists: exploring the Filter Conditions": http://www.guenter-schenk.com/tutorials/tutorial.php?id=6
    Can you please post the list´s code on your server as text file (e.g. code.txt) and provide a link to this file ?
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Pb Server-Sides inludes  + Dynamic List Wizard with PHP 5.2

    Hi
    I include some Dynamic Lists in a master page with Server Side Include beahavior.
    It was Ok in PHP 5.1 with any number of items (50 items per page).
    But there is problem with PHP 5.2, it's OK with 20 items per page, nothing is displayed with 50 items per pages.
    I've seen that there is a new memory manager for the Zend Engine with PHP 5.2...
    SO I modified some parameters in php.ini (memory_limit...) with no result.
    Is there somebody have the same problem, an idea ?
    Thank you
    Marie

    Hi Marie,
    I´m running PHP 5.2.2 with the Zend Memory Manager enabled as well, and so far I didn´t encounter such issues -- maybe you´ll just need to increase the currently defined "max_execution_time" value ?
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Console cluster reporting is not consistant with dynamic list

              (We are using the 6.1 sp2 plug-in for Linux. Our web server - apache - is on Solaris
              and our WL servers are on Linux Ret hat. 7.2 2.4.9-31smp)
              Recently our production site experienced the following unfortunate scenario:
              Here are the specifically the events that took place:
              On Sept 6 @ 2:30 pm:
                   I observered that the Admin console was reporting that only 3 (servers #3, #5
              and #6) out of the 6 servers were participating in the cluster. On the other
              hand, From the access logs, I was still seeing activity on all 6 servers.
                   At the same time, our operations team did not report any T3 PING failures (Tivoli
              automates the sending of T3 PING two each of the 6 servers in the cluster every
              10 minutes) which indicated that none of the server where in a hung state. This
              further verified that the all 6 servers were healthy.
                   Question: Why was the plugin still distributing traffic to all 6 servers despite
              the fact (as reported by the admin server) that 3 of the 6 servers were no longer
              participating in the cluster? Shouldn't the dynamic list have excluded these
              3?
              On Sept 6 @ 11:30 pm: The operation team reported that all 6 servers where no
              longer responding to a ping (hung state). I then checked the admin console and
              it was reporting that none of the servers were participating in the cluster.
              Is there a bug with the 6.1 sp2 console?
              

    Nael,
              This is a known problem. Please contact support and reference CR075667 to obtain the
              appropriate fix.
              Regards,
              Simon
              Developer Relations Engineer
              BEA Support
              Nael Ramadan wrote:
              > (We are using the 6.1 sp2 plug-in for Linux. Our web server - apache - is on Solaris
              > and our WL servers are on Linux Ret hat. 7.2 2.4.9-31smp)
              > Recently our production site experienced the following unfortunate scenario:
              >
              > Here are the specifically the events that took place:
              >
              > On Sept 6 @ 2:30 pm:
              >
              > I observered that the Admin console was reporting that only 3 (servers #3, #5
              > and #6) out of the 6 servers were participating in the cluster. On the other
              > hand, From the access logs, I was still seeing activity on all 6 servers.
              > At the same time, our operations team did not report any T3 PING failures (Tivoli
              > automates the sending of T3 PING two each of the 6 servers in the cluster every
              > 10 minutes) which indicated that none of the server where in a hung state. This
              > further verified that the all 6 servers were healthy.
              > Question: Why was the plugin still distributing traffic to all 6 servers despite
              > the fact (as reported by the admin server) that 3 of the 6 servers were no longer
              > participating in the cluster? Shouldn't the dynamic list have excluded these
              > 3?
              >
              > On Sept 6 @ 11:30 pm: The operation team reported that all 6 servers where no
              > longer responding to a ping (hung state). I then checked the admin console and
              > it was reporting that none of the servers were participating in the cluster.
              >
              > Is there a bug with the 6.1 sp2 console?
              

  • Dynamic list... select list with submit

    Hi,
    I am trying to create a dynamic list and based on the selection I want to pass the parameters… Here is what I’ve done so far
    Step 1… created a list of values (through shared components) using a query
    Step 2… created an item… used option to select list with submit…
    Here is the challenge: How to update my P1_Value based on the value from Select list…
    Thanks in advance

    I've created a page process by following these steps
    Create Page Process:
    Category of the process: Session State
    Session State process type: Set Preference to value of Item (PreferenceName:ITEM)
    Point: On Submit after computation and validation
    Preference Item: P1_Value
    Getting an error message:
    Invalid PL/SQL expression condition: ORA-06550: line 1, column 29: PLS-00306: wrong number or types of arguments in call to 'NVL' ORA-06550: line 1, column 7: PL/SQL: Statement ignored

  • Dynamic List/Menu with 2 columns

    I have created a Dynamic List/Menu box based on a recordset and showing me one field of that recordset ['Firmanaam'].
    <?php
    do { 
    ?>
                <option value="<?php echo $row_klantenselectie['Firmanaam']?>"><?php echo $row_klantenselectie['Firmanaam']?></option>
                <?php
    } while ($row_klantenselectie = mysql_fetch_assoc($klantenselectie));
      $rows = mysql_num_rows($klantenselectie);
      if($rows > 0) {
          mysql_data_seek($klantenselectie, 0);
       $row_klantenselectie = mysql_fetch_assoc($klantenselectie);
    ?>
    First question what is the difference between 'values" and 'labels' in the creation box of the Dynamic List/menu as only the field entered in the 'labels" is shown in the listbox ?
    Secondly I want to display two columns in the List box (one column with the client ID and one column with the clients name). How do I proceed ? Afterwards clicking on the selected client should send the client ID to another field in the form.
    Thank you for your replies.

    Moved to the Develop server-side applications in Dreamweaver forum, which deals with this sort of issue.
    First question:
    The Values field in the Dynamic List/menu dialog box populates the value attribute in the opening <option> tag. Because it's an HTML attribute, it's not displayed when the page is rendered in a browser. The Labels field puts the text that will be displayed in the drop-down menu between the opening and closing <option> tags.
    Put the value you want displayed in the Labels field, and the value you want sent to the server when the form is submitted in the Values field.
    Second question:
    Normally, you would put the ID in the Values field, and the name in the Labels field.
    Because the value attribute will contain the ID, it shouldn't normally be necessary to populate another field with the selected value because the ID will be sent to the server with the rest of the form data when the form is submitted.

  • "Dynamic List Box with Single Selection" Survey Suite in CRM 6.0

    Hi
    I am using CRM 6.0. There in Survey Suite there are 2 answering options "Dynamic List Box with Single Selection" & "Dynamic List Box with Multiple Selection". I am able to make out, how we can assign values to this. I have seen example "Example_Dynamic_survey" also.
    I believe we have to use programming for populating this. But how do we have to carry that out.
    Thanx and Regards
    Hitesh

    Hi Hitesh,
    There is no need of programming for populating values for Answer category 'List Box with Single Selection' or 'List Box with Multiple Selection'. You have to follow the following steps to populate values for those:
    - In the Answer Category select List Box with Single Selection from drop down list
    - Then on left hand side tree, right click on Answer and select Insert Answer Option (Answer->Insert Answer Option)
    - Then on right side, provide Text for the answer (value)
    - To add more values, repeat the process Answer->Insert Answer Option and providing text for those answers in the right side.
    Similarly you can populate values for 'List Box with Multiple Selection' also.
    This has to be done in the transaction CRM_SURVEY_SUITE.
    Hope this is clear to you
    regards
    Srikantan

Maybe you are looking for

  • Mac Mini and Samsung 43" DLP HDTV  gets Black Screen Only

    Just bought a new Mac Mini with great anticipation for some large screen viewing. After numerous attempts the Mini has yet to produce anything but a black image with the occasional red or white horizontal line on my 43" Samsung DLP TV. Not even a bri

  • How I can access the user folder in Windows 7?

    Hi all. I have the following problem: I am using Windows 7 with Acrobat X and want to include a trusted function in my user folder, but when running on the console app.getPath ("user", "javascript"), I returned the following error : GeneralError: The

  • Cannot Pre-order the Eclipse soundtrack!!!

    I am SURE of one thing, i have money on my itunes account! Okay the situation is this, i cannot pre-order AND preview the Eclipse soundtrack.When i click the pre-order button nothing happens. When i click preview for the single thats available nothin

  • Wired guest access on WLC 4400 with SW 7.0.240.0

    Hello, after we upgrade our Wlan-controller 4400 from software 7.0.116.0 to 7.0.240.0 wired guest access don't work anymore. All other things works fine, incl. WLAN guest access! When we try wired guest access, we get the web-authentication page and

  • N8 frustration - WLAN/FM radio/battery life

    Boy, were my hopes ever dashed? Great to look at, great to hold in one's hand, nice to swoosh between homescreens, photo-taking a treat.......I could go on; not much, but I could go on. How frustrating is this phone? Anytime I plug in the supplied he