How can i add two values under the same property?

Hi all,
How can i add two values under the same property name in a
prop list? For example:
[question1: "item1","item2", question2: "item3","item4"]
To be more precise, i am creating a property list and I want
whenever a two values have the same property name to be added int
he list under the same property. For example:
gMyList.AddProp (#""&question&"" & x,
member("input").text)
question is a variable that is updated fromt he user's input.
Now, whenever somethign like this happens:
question = "question1"
member("input").text = "five"
question = "question1"
member("input").text = "six"
I want to output list to be:
[question1: "five","six"] and so on
Any ideas?

Maybe you could make each property a list (so you have a
property list full
of lists), and add multiple values to the list held in a
particular
property?
Cheers
Richard Smith

Similar Messages

  • Can we assign two values to the same parameter? If yes how? For details ple

    Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
    Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
    I want to do this to print two documents(values) with a single command (parameter)
    Anybody please help quickly,
    Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
    JAVA PROGRAM:
    <param name="QUERY" value="REPORT_TEST1"/>
    function PrintReport(typePaper) {
    document.title ='Report';
    if (typePaper == "0")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
    if (typePaper == "1")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
    CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
    var openCMD='<SAP_BW_URL>';
    openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
    openCMD += CurrentReportName;
    openWindow(openCMD,'MainTitleNow',800,600);
    The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
    Please help.
    THANX A LOT,
    SRINI

    Hi,
    Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
    In the function get the parameter value and seperate the values using the same delimiter.
    <param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
    Regards,
    Uma

  • Can we assign two values to the same parameter? If yes how?

    Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
    Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
    I want to do this to print two documents(values) with a single command (parameter)
    Anybody please help quickly,
    Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
    JAVA PROGRAM:
    <param name="QUERY" value="REPORT_TEST1"/>
    function PrintReport(typePaper) {
    document.title ='Report';
    if (typePaper == "0")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
    if (typePaper == "1")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
    CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
    var openCMD='<SAP_BW_URL>';
    openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
    openCMD += CurrentReportName;
    openWindow(openCMD,'MainTitleNow',800,600);
    The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
    Please help.
    THANX A LOT,
    SRINI

    Hi,
    Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
    In the function get the parameter value and seperate the values using the same delimiter.
    <param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
    Regards,
    Uma

  • How can I save multiple titles under the same DVD?

    I use HandBrake to rip DVD's into iTunes. How can I save multiple titles under the same DVD? For instance, I have a Jimi Hendrix documentary that comes with special features, such as concert performances. I would like to have the main feature and the special features saved in my iTunes under the same title, perhaps as different 'tracks' (kind of like how different songs can be saved under the same album).
    Is there a way for me to do this, or am I chasing phantoms?

    *This response is for iPhoto 11 (v9). If you're using an earlier version, please post back and let us know. Troubleshooting steps are not the same for different versions. To find out which iPhoto you have: iPhoto Menu -> About iPhoto)*
    Duplicate the photo first. (Photos -> Duplicate). This means that you will have multiple copies of the master as well as the edited version.
    If you use versions like this often and wish to have only one master then you can do this with Aperture.
    Regards
    TD

  • How can I make two copies of the same picture one with my watermark and one without for printing for clients?

    how can I make two copies of the same picture one with my watermark and one without for printing for clients?

    Export the photo twice, once with a watermark and once without a watermark.

  • How can i distinguish two controls with the same name?

    I'm recording automated tests with VS 2012 Coded Ui Test for testing a web application.
    In that web application it is possible to enter data in something looking like a list.
    There is - per example - an Edit control sitting on a ColumnHeader with the name/text "Description".
    Below that header is another Edit control for data input - containing the text "Description" too and which lies on a Cell control.
    When i playback my recording, Coded UI Test looks for a control with the name "Description" and gets the one, it finds at first.
    In that case the Edit on the ColumnHeader, which causes an exception, when the Text will be setted with the data input from the recording.
    Unfortunately the controls have no ID.
    Is there a way to distinguish controls with the same name?
    Thanks in advance!

    Hi Patrick Pirzer,
    >>Is there a way to distinguish controls with the same name?
    Based on the blog "How does “Coded UI test” finds a control ??", we know that to really find a control, it would be related to the unique properties as the search properties,
    so if two controls have the same property, please use other unique property as the search property would be better.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I add multiple tickets under the same confirmation number from the American Airlines app to Passbook?

    I have a confirmation number from American Airlines for a flight with my family all under my name and for some reason I cannot add all of our tickets to Passbook. To clarify, I went to the American Airlines app and put in the confirmation number along with my name which pulled up my boarding pass only. Although I was able to add this boarding pass to Passbook, I was not able to add any of the other boarding passes for my children to Passbook that should have also been under the flight reservation. In fact I couldn't even see them in the American Airlines app. I tried to use their names and the same confirmation number but nothing happened, and nothing else seems to be working. How can I add all of these boarding passes to my Passbook?

    Fair enough.
    I started doing this before unlimited data and emails on phones was a common commodity, on my Samsung Blackjack.
    I then continued it due to its convenience. My only counter argument is this:
    Even when emails are set to immediately push, I am always notified earlier by this forwarding message (sometimes by several minutes/hours due to the fact that it is not dependent on my being connected to 4G or wifi to receive it.
    Also, to contradict snozdop's point that both methods use data and battery, I say this - when I use the forwarding method, the information comes in a pure text format and therefore uses considerably less information than an HTML and CSS rich email, with embedded images and such -also, unlimited text messages aids curve costs.
    I will, however, give this method a go. In any case, a solution to my original question would still be greatly appreciated.
    Thanks guys.

  • How can I have two fields with the same name if it makes sense?

    Hello, folks :)
    I have a pretty hard time figuring out how I can have two text fields with the same binding name.
    The whole problem is that when I need two fields with the same binding name they are still differnent coz they have the same name but differnt indices.
    I should make a form filled at runtime by merging a pdf form file and an fdf file data file. And I have no choice to do it differently. And my form file needs some data like customerName, companyName twice in one form. But there's only one possible buinding name indexed zero.
    How can I create a field with absolutely the same name or is it just impossible due to possible name conflicts? And is there a workaround to this problem? I just need one piece of data repeated in different places.
    Thanks for your replies :)
    P.S. if u think that the problem is not clear enough let me know. I'll supply you with more details. But the general process can not be changed.
    One pdf should be mergred with an fdf with as the result of their merge a new filled and flattened form. I have no control over fdfs their are generated by Oracle and I can not fill the form using XML files coz this process should be integrated in a working application.

    I just thought about a really ugly workaround with a server-side script adding values to fdf files but it's a bit of work and tests and personally i think it's a bad idea :-(

  • How can I produce two outputs of the same project

    Dear Sir,
    My aim is to produce two outputs of the same master project,
    HTML help and Webhelp each one will be used differently in my
    compnay.
    Producing two outputs is fine but the problem was that
    external links are done differently for HTML help and Webhelp and
    as I Knew from you that this can be solved using conditional tags.
    Actually I am new to conditional tags and I don't know how to
    use them. Could you please help me to do this or recommend a link
    on how to use condtional tags to produce different outputs.
    Thank you very very much

    Hi there ahlam323
    See if the link below helps any. Some goober wrote something
    on it.
    Click
    here to read the goober's guide
    Cheers... Rick

  • How can I start two Vi at the same time?

     I have two Vi's, each of these Vi has a stop button. I want to start these two Vis at the same time. I also want to be able to stop the two Vis at the same time. What should I do? Thanks.

    One way to start them is with an Invoke Node and the Run method. You can then stop them with the Set Control Value [Variant] method. When you use the Set Control Value [Variant], you just have to specify the name of the front panel control that stops the while loop. Older versions of LabVIEW only had the Set Control Value method in which you had to use the flatten to string function to pass the Type Descriptor and Flattened Data.
    Message Edited by Dennis Knutson on 03-20-200609:35 AM
    Attachments:
    Run Method.JPG ‏44 KB

  • How can i make two ipods use the same apple id

    How can I make two ipod touchs have the same apple id

    If you haven't already set up your two iPods either make and apple I'd on one and on the setup on the other type on your apple ID by setup I mean when you first get it it asked you questions so when your done answering the questions your iPod is ready to be used

  • How can I connect two PS3 to the same Linksys WRT54G correctly

    Hi,
    i'm trying to connect two PS3 to the same routeur without having conflicts. Everytime i try to update my game softwares it tells me error 80710723 or now 8002AD23. I gave the two PS3 different IP adresses, i opened all the ports that Playstation suggested me to open (http://playstation.custhelp.com/app/answers/detail/a_id/241) and gave them different DNS adresses but still they cannot download any software content without bugging the console. I also use a PC, Tablet and Phone with my wireless connection.
    thank you
    -François

    Well in this case the error code (80710723 ) is generated when the internet connection is slow. So you can try the following step:
    # Open up the browser and on the address bar type 192.168.1.1 that will open up the Router setup page.
    # Lower the MTU (Maximum Transmission Unit) from 1500 to 1400 or less (usually found on your router's main/ basic setup page)
    # Make the Channel Width to 20 MHz only and Channel to 6, 9, 11..
    #Adjust the following advanced wireless settings:
    ~~ Lower the beacon interval from 100 to 75
    ~~ Lower the fragmentation threshold from 2346 to 2306
    ~~ Lower the RTS threshold from 2347 to 2304

  • How can I sync two Bolds with the same contacts?

    I have two bolds and are trying to sync them both with the same contact list.
    The first bold has all the contacts and I sync that phone using the BB Desktop manager setup with Outlook Express main identity.
    When I try to sync the second bold with the same setttings, outlook express and main identity, none of the contacts transfer to the new bold, why?
    What is the best way to sync two phones to the same contact list?
    Claim your missing money with foundmoney.com today Missing money

    Any solutions to this please ????
    Claim your missing money with foundmoney.com today Missing money

  • How can I open two libraries at the same time on itunes?

    Hey i need help on opening two libraries at the same time on itunes. I don't know if that is possible but need some advice if its possible. I already have several libaries but I need to compare labaries at times due to various users on my computer. Please help .

    Not that I'm aware of. What exactly is that you want to achieve? There are tools for scanning media folders and adding any files not listed in the library, or deleting those that no longer exist. There are also ways to use one library for multiple users so that any tag update gets applied for everyone.
    tt2

  • How can i add two emails under one account

    i have my primary apple email (that i used to purchase apps) and i need to add another email (work email) under my primary apple email so i can use the work email on my work iphone and it the same time download the apps that i purchased from app store to my work phone, confusing right?

    i got it never mind. . {:)

Maybe you are looking for

  • Prepayment invoice matched to PO going on receiving hold

    Hi everybody, I want to know why a prepayment invoice will go on a receiving hold in oracle AP when matched to an unreceived PO. Outside of manually releasing the hold and making the payment is there some other set up that allows ONLY prepayment invo

  • Weblogic Server Logs

    Hi, We have an ADF application being served by weblogic 10.3.5. During the operation of application, sometimes we are getting "Internal Server Error" . Weblogic command window is not showing complete log of application process. So, how can we get the

  • 3D plot - select coordinates

    Hello, I would like to know if there is a way to know the coordinates on a 3D surface plot in LabVIEW. Actually I know one way but I would like to know if there is another. The way I know is: right click on the 3D plot and then click on ´Properties o

  • Premiere Pro CS3 Crashing

    We are having an issue with Premiere Pro CS2 crashing, there seems to be no reason or set time. I havve attached what appears to be a "crash file" anyone see why? Thanks for any help Version=1 EventType=AppHangB1 EventTime=129536743021919857 ReportTy

  • On scan Aztec code, the app is crashing on iPad Mini.

    On scan Aztec code, the app is crashing on iPad Mini. - (void) captureOutput:(AVCaptureOutput *)captureOutput               didOutputMetadataObjects:(NSArray *)objs               fromConnection:(AVCaptureConnection *)connection    for(AVMetadataMachi