How do I take data from a query sample record and query another block with it?

I have a master/detail form (6i) that contains a master block (staff), and a detail block (phone). I would like to be able
to query by phone number, but when I execute the query, I would like a 'search results' box to pop up that contains the
phone number I queried for, as well as some other staff info. There might be multiple records that match my query,
and I'd like them all to be listed (or list 10 or so, with a scrollbar). I'd like a push button next to each record that will take
me back to the master/detail window with that record displayed. So, I created a third block that is based on a joined
view of the staff and phone tables. It is a multi-record block, with 10 recs displayed and a scrollbar. It is in a separate
window. I don't want the user to have to navigate to that block, however, to perform their query. I would like them to be
able to enter the query in the phone number block, then somehow grab the phone number they've entered and use it to
query my 'search' block. This is the part I'm having trouble with. Can someone please help? THANKS!

Where do I put that line of code? I see that it goes at the Script part near the top, but how can I use that, I am pretty new to this language. I am not familiar with this line, where does it bind the value from the datagrid to the variable?
fullXML[myDataGrid.selectedIndex].FIELD_NAME;
myDataGrid would be the id from the grid I am guessing?
and selected index would be the channel.description part?
and FIELD_NAME; is the variable name?
does this go into a funtion or is it placed at the top where the variables are declared?

Similar Messages

  • How to make a selection of a layer delete content and paste another content with Photoshop scripting..?

    how to make a selection of a layer delete content and paste another content with Photoshop scripting..?

    There is a more specific Forum …
    Photoshop Scripting

  • How do I take data from a data grid and put it into a variable?

    I am having problems taking data from a datagrid (guess you got that from the title) and setting it to a variable. I am tak
    ing the data from 3 different rss feeds, depending on what button you press, and showing it in a grid. I would like to be able to do more with this data. Here is my code so far:
    <mx:VBox id="vbox" x="70" y="150">
      <mx:Label text="This Data Grid is doing nothing" />
      <mx:DataGrid width="1000" dataProvider="{fullXML}">
       <mx:columns>
        <mx:DataGridColumn id="dataGrid" *dataField="channel.description" headerText="Feed"/>
       </mx:columns>
      </mx:DataGrid>
    </mx:VBox>
    <!-- from test 5 -->
    <mx:Move id="moved" target="{hbox}" repeatCount="0" easingFunction="mx.effects.easing.Linear.easeIn" />
    <mx:HBox id="hbox" fontSize="12" fontFamily="courier">
      <mx:Label text="{website**}" />
    </mx:HBox>
    * this is the data I want to get out
    ** this is where I want to be able to put the variable.
    I don't know if I can do it here or if I need a function or what.
    I would like to be able to put it into an array, but step one is anything at all, so I'm trying just a variable.

    Where do I put that line of code? I see that it goes at the Script part near the top, but how can I use that, I am pretty new to this language. I am not familiar with this line, where does it bind the value from the datagrid to the variable?
    fullXML[myDataGrid.selectedIndex].FIELD_NAME;
    myDataGrid would be the id from the grid I am guessing?
    and selected index would be the channel.description part?
    and FIELD_NAME; is the variable name?
    does this go into a funtion or is it placed at the top where the variables are declared?

  • How can I take data from multiple pages documents and put them into a numbers table?

    I produce invoices in pages, with dates, invoice numbers, references and amounts due. I want to take all this data from multiple documents and transfeer it to a single numbers table. Is this possible and if so, how do I do it. I know I can do it the other way round with mail merge but I can't figure out how to do it this way round?
    Thanks,
    Keith

    The data is spread throughout a pages document in specific areas here's a copy of an invoice for you to have a look at.

  • How can I take data from specific column in a table using VBA

    Hi
    I do not know how to take the values from the last column in a table, I know how to look over each row but I cannot take the last column values for each row I pass by.
    This is the table for example:
    | Date | Account1 | Account2 | Description | Amount |
    |12/03/2008 | 123-32 | 325-78 | None | $50 |
    |12/03/2008 | 123-32 | 325-78 | None | $20 |
    |12/03/2008 | 123-32 | 325-78 | None | $10 |
    |12/03/2008 | 123-32 | 325-78 | None | $40 |
    I am using this code as a reference that User FiveNines gave me to loop through all the rows in the table, so What I need is to take the values of the column Amount for each row I go through.
    Private Sub RSWVBAPage_afterPlay()
    Dim tbl As HTMLTable
    Dim tblRow As HTMLTableRow
    Dim tblCell As HTMLTableCell
    Dim strValue As String
    Dim rButton As HTMLInputElement
    ' ******** This would be your global variable. I put this so that values are seperated by a semicolin you can use what ever format works for you.
    strValue = "03/22/2008;03/22/2008;*************1977;*************1977;$25.25;Jan, Jun, Jul, Dec"
    ' Strip out the ; for inner text comparison
    strValue = Replace(strValue, ";", "")
    ' This will get the table but can be modifoed to be more specific
    Set tbl = RSWApp.om.FindElement(, "TABLE")
    ' This loops through all the rows in the table until a match to the strValue is found
    For Each tblRow In tbl.rows
    If tblRow.innerText = strValue Then
    RSWApp.WriteToLog "Tables", "Passed", "Row is Present", True
    End If
    Next
    End Sub

    Hi Lippix.
    This is code that will loop the rows then loop the cells and check for "$" which will return dollar values. I also attached a script.
    Private Sub RSWVBAPage_afterPlay()
    Dim tbl As HTMLTable
    Dim tblRow As HTMLTableRow
    Dim tblCell As HTMLTableCell
    Dim strValue As String
    ' This will get the table but can be modifoed to be more specific
    Set tbl = RSWApp.om.FindElement(, "TABLE")
    ' This loops through all the rows in the table until a match to the strValue is found
    For Each tblRow In tbl.rows
      For Each tblCell In tblRow.cells
      ' cycle through the cells and only report those with a dollar value by searching for $
        If InStr(1, tblCell.innerText, "$") <> 0 Then
       RSWApp.WriteToLog tblCell.innerText
       End If
      Next
    Next
    End Sub

  • How to auto populate data from one list in SharePoint 2007 into another list based on a key value?

    Hi,
    As a part of new requirement in my project I am supposd to work on SharePoint 2007. I have one List (BCExtract - Main list) with all data related to an Application (like ID, name, app manager RTO etc).
    I have created another list which has form to be filled by a user (with details about his/her applications). My requirement is that when the user enters AIT ID then the page should refresh (probably after hitting enter) and other details like Application
    name, RTO etc which is present in another list gets auto populated depending on the AIT ID (unique column) entered so reduce the burden on the user.
    Please suggest me how this can be done. I do not have permission for obtaining SharePoint Designer and I do not know JQuery. Infopath is ok but if this can be done through SharePoint 2007 alone then it would be great.
    Thanks....

    Hello,
    You can either use jquery/jaavscript or infopath form to achieve this. There is no default way to do this.
    I would suggest jquery because you can put script in newform/editfor.aspx page using content editor webpart. Refer this link for jquery:
    To get value from list:
    http://social.technet.microsoft.com/Forums/en-US/ac47fe2a-ccb6-4f5b-b274-703aecc6cb0a/get-list-items-in-sharepoint-2010-by-using-jquery
    http://www.robertkuzma.com/2010/08/read-list-items-using-sharepoint-web-services-and-jquery/
    To set value in column:
    http://paulgalvinsoldblog.wordpress.com/2009/06/13/quick-and-easy-use-jquery-to-set-a-text-field%E2%80%99s-value-on-a-sharepoint-form/
    http://spservices.codeplex.com/discussions/468729
    If you use infopath form, then you need to create two data connection to get data from both lists. Later you can set value in fields based on selection using rule. This can be possible without code.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • I am making a reel. How do I take clips from past DVDs Ive made and place them into Final Cut 4.0?

    Anyone answering,
    I am making a reel to show businesses what kind of work I can do. I am trying to take clips from past projects I have finished and place those clips in FCXpress 4.0. How do I go about doing this? Any advice on how I can do this will be a tremendous help for me.
    Thank you for your time!!

    Hi Jeremy,
    You will have to convert the DVD video to QuickTime using either Apple DV or Apple Intermediate Codec.
    Most people in this forum seem to use MPEG Streamclip to do this.  I have used it a lot it and it works great.
    Note that in addition to MPEG Streamclip (which is free), you will need the QuickTime MPEG2 Playback Component if you do not already have it on your Mac.  It is available from the Apple Online Store for $19.  This needs to be on your Mac in order for MPEG Streamclip to be able to convert the MPEG2 video that is on your DVDs.
    If it were me, and the video is standard 4:3 aspect ratio, I would probably convert it to QuickTime/DV; if widescreen 16:9  then I would probably convert it to QuickTime/Apple Intermediate Codec instead.
    After converting the video, select  an appropriate FCE Easy Setup to match how you converted the video in MPEG Streamclip.  Then import the converted file(s) and edit them into a new sequence.

  • How can I restore data from my iCloud account on a new iPhone 5c with a previous SW version that my old (stolen) iPhone 5?

    Hello everybody,
    I need help to restore data from my iCloud account on an unused iPhone 5c because my iPhone 5 with a newer iOS update was stolen. When I try I get a message that I cannot retore my data because the iOS on my iPhone 5c is an older version than on the stolen iPhone 5.
    There must be a way to do this. I hope to hear from you
    thanks!

    Welcome to Apple Support Communities
    You cannot. However, you can solve this problem by setting the iPhone as a new device and upgrading iOS in Settings -> Software Update.
    After upgrading iOS, open Settings -> General -> Reset -> Erase All Content and Settings. Finally, Setup Assistant will let you restore the backup.

  • How to fetch the data from a pl/sql table and varray, with some example

    I want to fetch the data using a cursor from Pl/sql table and varry and I want to update the data.
    Please provide me some example.

    PL/SQL Table  - please note that, right term is Associative Array.
    Presumably you are referring to the 'often heated' back-and-forth that sometimes goes on in the forums when people refer to ANY PL/SQL type using a term with the word 'table' in it?
    Curious that you then show an example of a nested table!
    type emp_tab is table of employees%rowtype;
    The 'right term' for that is 'nested table'. The following would be an 'associative array' or 'index-by table'
    type emp_tab is table of employees%rowtype INDEX BY PLS_INTEGER;
    Those used to be called 'PL/SQL tables' or 'index-by tables' but 'associative array' is the current term used.
    Associative Arrays
    An associative array (formerly called PL/SQL table or index-by table) is a set of key-value pairs. Each key is a unique index, used to locate the associated value with the syntax variable_name(index).
    The data type of index can be either a string type or PLS_INTEGER.
    Since the Oracle docs often use 'PL/SQL table' or 'index-by table' it isn't unusual for someone asking a question to use those terms also. Technically the types may not be 'tables' but it's clear what they mean when they use the term.
    In PL/SQL the term 'nested table' is still used even though the PL/SQL collection is not really a table. SQL does have nested tables where the data is actually stored in a table. The PL/SQL  'nested table' type can be used as the source/destination of the SQL data from a nested table so that may be why Oracle uses that term for the PL/SQL type.
    The doc that SKP referenced refers to this use:
    Nested Tables
    In the database, a nested table is a column type that stores an unspecified number of rows in no particular order. When you retrieve a nested table value from the database into a PL/SQL nested table variable, PL/SQL gives the rows consecutive indexes, starting at 1.

  • [beginner] I need to take data from 4  in Numbers '09 and combine info

    I need to take 4 cells of data that has name and address in column and combine all cell information into a single cell in address format so it can be copied and pasted onto labels.
    e.g. A1 cell: John A2 cell" smith A3 city A4 state A5 zip code
    how can i get all of that info to be:
    John Smith
    city, state, zip code
    if anyone has an idea. thanks!

    Adding to what Yvan posted, if you want the exact format you posted, with commas and a line feed, it would be this:
    A1&" "&A2&CHAR(10)&A3&", "&A4&", "&A5
    The CHAR function isn't supposed to take codes smaller than 32 but 10 works. It is a line feed.
    You may also want to reconsider the comma between the state and zip code as that is typically just a space.

  • How can i retrieve data from a macbook pro that has the flashing folder with an ? mark in it, to a brand new iMac

    I want to do a data recovery of my 15" MBP that has the flashing folder w/ ? mark in it, to an iMac 21.4"; how can i go about that?

    DJSMACC wrote:
    How do I go about removing the internal drive and mount it to an external enclosure @Linc Davis??? Sorry that I'm not too hip with all the technology lingo & etc?
    You'll have to watch the video and buy a few tools to extract the driive.
    http://eshop.macsales.com/installvideos/
    Then use something like this to connect to the other Mac or PC with MacDrive installed.
    http://eshop.macsales.com/item/Newer%20Technology/U3NVSPATA/
    You also can get the same adapter elsewhere online for as low as $12 I've seen.
    Likely it's a USB 2,1 which your Mac's can only accept USB 2,1 anyway, no need to pay more for a USB 3 unless you want too.
    No compensation for site or product mention
    You likely should be having a professional or Apple tech attempt to bypass the firmware password if you forgot it, it's the best way to go about things.
    Just because the Mac has a spinning wheel gray screen at boot doesn't mean it's ruined, you just need to bypass the firmware password and then from there fix the machine's cause for not booting, which is likely a software issue from a third party kernel extension file.
    Step by Step to fix your Mac
    You should know that opening the iMac could likely ruin it and will ruin any warranty or AppleCare, and if it's a Early 2011 model or later you can't replace the hard drive yourself as Apple has proprietary software installed on the drive that needs to "talk" to OS X to control the fans speeds.
    Good Luck.

  • How to load dynamic data from the DB...and the answer is not JSP!!!

    The information to be shown on the page has to be loaded dynamically from the database. As opposed to creating in static jsp pages, the fields and their attributes (name, label, etc.) are stored in the database tables, mag_registration_form_header and mag_registration_form_fields.
    So somehow i have to be able to display all the fields and there data on a JSP. The motive behind this is that there will be something like a common template which many modules can use and there will be a single jsp file which will display the contents as per the event...
    The template will be prepared in the java end..
    This has to be done using struts framework....

    AJAX (and a JSP/Servlet that delivers the info the AJAX call requests).
    Edit: If you're talking about changing info already appearing on a loaded page.
    And how is the answer not JSP, when you yourself said you would use JSP to display it.
    I don't believe you know enough about any of this to even be starting on this "project".

  • How to delete the data from partition table

    Hi all,
    Am very new to partition concepts in oracle..
    here my question is how to delete the data from partition table.
    is the below query will work ?
    delete from table1 partition (P_2008_1212)
    we have define range partition ...
    or help me how to delete the data from partition table.
    Thanks
    Sree

    874823 wrote:
    delete from table1 partition (P_2008_1212)This approach is wrong - as Andre pointed, this is not how partition tables should be used.
    Oracle supports different structures for data and indexes. A table can be a hash table or index organised table. It can have B+tree index. It can have bitmap indexes. It can be partitioned. Etc.
    How the table implements its structure is a physical design consideration.
    Application code should only deal with the logical data structure. How that data structure is physically implemented has no bearing on application. Does your application need to know what the indexes are and the names of the indexes,in order to use a table? Obviously not. So why then does your application need to know that the table is partitioned?
    When your application code starts referring directly to physical partitions, it needs to know HOW the table is partitioned. It needs to know WHAT partitions to use. It needs to know the names of the partitions. Etc.
    And why? All this means is increased complexity in application code as this code now needs to know and understand the physical data structure. This app code is now more complex, has more moving parts, will have more bugs, and will be more complex to maintain.
    Oracle can take an app SQL and it can determine (based on the predicates of the SQL), which partitions to use and not use for executing that SQL. All done totally transparently. The app does not need to know that the table is even partitioned.
    This is a crucial concept to understand and get right.

  • Take data from renamed column

    I created visual web part and used client object model to take data from a list.
    Worked perfect, but when I renamed the list column script failed to take data from the list.
    When I rename the list column back script worked again.
    How I can take data from the list which has rename columns?
    Thanks for any help
    bnossov

    It could be because you are using hard coded column names in your script.
    here are different ways you can make your script to work-
    1. Use the internal name of the column
    http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spfieldcollection.getfield(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spfieldcollection.getfieldbyinternalname(v=office.14).aspx
    2. change the column name in your code to the corresponding new name
    3. or
    http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spfieldcollection.trygetfieldbystaticname(v=office.14).aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • Can someone tell me how to delta update data from db like oracle?

    Hi gurus:
         as the title,can someone tell me how to delta update data from db like oracle?
    and can someone give me some link about the detail of delta update?
        thanks very much.
    chan

    Hi,
    Check help links
    Data Transfer with DB Connect
    http://help.sap.com/saphelp_nw04/helpdata/en/58/54f9c1562d104c9465dabd816f3f24/frameset.htm
    http://www.bwexpert.com/downloads/DBConnectMakingDELTAABAPCode.doc
    Delta Concept
    http://help.sap.com/saphelp_nw04/helpdata/en/84/81eb588fc211d4b2c90050da4c74dc/frameset.htm
    Thanks

Maybe you are looking for

  • Tax tables for Invoices

    Hello Experts, I am trying to create a Vendor Spend report (both MIRO and KR invoices) which also needs some tax information on it. Can you help in locating the tax amounts in the following cases: 1) The company pays the whole amount (including taxes

  • My iMac is running very slow

    My iMac is now running very slow.  Every process/application lags, safari, iPhoto, pages, iTunes, etc.  Beach ball just spins and spins..... I have an early 2008 iMac with 2.66 GHz Intel Core 2 Duo processor, 2 GB 800 MHz DDR2 SDRAM memory, 320 GB SA

  • How to create an XML Port in we21

    Hi friends, Please help me in creating the XML Port in we21. what are the inputs I need to pass to create the XML File  Port. Kindly suggest me Thanks in Advance, Ganesh

  • Mac Pro 8-core drives acting weird, won't sleep?

    Hello all, I recently purchased my first 8-core machine. LOVE IT. Blazes through things so much faster than my iMac's or old G5's. Can't wait for FCP to be updated to utilize all the processing power. That said, I've noticed that when I'm rendering s

  • FEATURE REQUEST: 'Select Printer' option when printing envelopes or labels

    I have a Samsung laserjet printer that will not print labels properly with the default paper type setting...the toner smears. So I have created a second printer object for the Samsung device with 'Labels' selected as the default paper type and I've n