About 'nested for' issue

Hi all,
we have defined the below xquery function where we build an xml that will contain some participants and each partecipant has some custom-field nodes.
We have a first 'for loop' for creating the participants nodes and within another 'for loop' for creating the required custom-field nodes.
declare function xf:BP($message1 as element(ns0:message), $entities1 as element(entities))
as element(ns1:data) {
<ns1:data>
     <client-relationship ns1:id="{concat('cr-',data($message1/ns0:body/ns0:bp/ns0:bp_nr))}">
</client-relationship>
     {for $z in distinct-values($message1/ns0:body/ns0:bp/ns0:authority_list/ns0:authorities/ns0:person_id)
     return
         <participant>
                        <UUId>...</UUId>
              <mode>update</mode>
                         <custom-fields>
                         {for $q in $message1/ns0:body/ns0:bp/ns0:authority_list/ns0:authorities where $q/ns0:person_id = $z
                          return
          <custom-field>
            <attribute>{concat("roleFrom", ...}</attribute>
          <value>...</value>
</custom-field>
          <custom-field>
          <attribute>{concat("roleTo", ...}</attribute>
          <value>...</value>
</custom-field>
... other custom field
          <custom-field>
          <attribute>roleStatu</attribute>
          <value>R</value>
</custom-field>
</custom-fields>
</participant>
</ns1:data>
As defined above we get an error when we define the function and we are forced to add an extra 'root element' in the inner 'for loop':
From
<custom-fields>
{for $q in $message1/ns0:body/ns0:bp/ns0:authority_list/ns0:authorities where $q/ns0:person_id = $z
                          return
          <custom-field>...</custom-field>
          <custom-field>...</custom-field>
          <custom-field>...</custom-field>
To
                         <custom-fields>
                         {for $q in $message1/ns0:body/ns0:bp/ns0:authority_list/ns0:authorities where $q/ns0:person_id = $z
                          return
                               <extra-root>
          <custom-field>...</custom-field>
          <custom-field>...</custom-field>
          <custom-field>...</custom-field>
                               </extra-root>
Do you have any hints for avoiding to add that extra 'root element' in the inner 'for loop' ?
Thanks in advance
ferp                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Hi,
Do you have any hints for avoiding to add that extra 'root element' in the inner 'for loop' ?You have to use a sequence constructor :
http://www.w3.org/TR/xquery/#id-sequence-expressions
So, something like :
<custom-fields>
for $q in $message1/ns0:body/ns0:bp/ns0:authority_list/ns0:authorities
where $q/ns0:person_id = $z
return
  <custom-field>
    <attribute>{concat("roleFrom", ...}</attribute>
    <value>...</value>
  </custom-field>
  <custom-field>
    <attribute>{concat("roleTo", ...}</attribute>
    <value>...</value>
  </custom-field>
  <!-- ... other custom field -->
  <custom-field>
    <attribute>roleStatu</attribute>
    <value>R</value>
  </custom-field>
</custom-fields>
...

Similar Messages

  • I just got my replacement phone from Warranty. The phone was on for just 2 hours and it crashed. I was told that motorola knows about this "possible" issue. I got a new sim, hard reset, If it can be done I did it. They are now sending me the same phone ag

    I just got my replacement phone from Warranty. The phone was on for just 2 hours and it crashed. I was told that motorola knows about this "possible" issue. I got a new sim, hard reset, If it can be done I did it. They are now sending me the same phone again. Number 3. I would hope this one doesn't crash but I rather have a different phone so I can enjoy using my account. The phone's most recent error was today. " Unfortunately, the process com.motorola.widget.circlewidget3d" has stopped. At least the error message works and it's polite. I told tech this and they could not answer my question or help me other then "let's do a hard reset" My warranty replacement is coming on Monday. Let's hope this one works. Anyone else havinbg the same problem. it says "such and such as stop working" on all sorts of stuff! Help! I want my iPhone Back!

    I just did a google search on this issue. OMG, I got a ton of videos on this or similar issues. Each one says in some way to clear the cache, reset the data, etc. Why in the world would this continue to happen and they not do a fix that resloves this without having to lose or stop what your doing. This is a very long and constant issue it seems with Android phones as there must have been pages and pages of what I now call "Unfortunately"  So I am going to pray that Verizon helps me  out and gets me away from this issue and helps me go back to iPhone or try the Samsung.

  • Issues with nested for loops - saving images from a camera

    Hi all,
    I've written a vi. to capture a specific number of images ('Image No') and save these images, outputted to a folder of my choice.  Each image is identified sequentially.  However, I wish to do a number of iterations ('Run') of this capture sequence, such that the filename of each image would be 'Filename (Run)_(Image No).png', e.g. run 5, image 10 would be 'Filename 5_10.png'.  I have tried a nested for loop for this but I receive an error 'Asynchronous I/O operation in progress' (I've attached a printscreen).
    Can anyone assist me in solving this problem? I preiously posted this in machine Vision but got no response (http://forums.ni.com/t5/Machine-Vision/Capturing-image-sequences-issues-with-nested-for-loops/m-p/19...).  Please find attached my vi.
    Kindest regards and thanks,
    Miika
    Solved!
    Go to Solution.
    Attachments:
    Labview problem.jpg ‏3841 KB
    Image sequence save to file.vi ‏48 KB

    Miika,
    the problem is not the filenam, but the name of the folder (AHHHHH!). You try to create the same folder in the outer for loop over and over again.... (it is the error message above the '======', not below )
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Are you aware about bash security issue CVE-2014-6271 ? Do you have a patch for that? The problem may exist in all Solaris versions.

    Are you aware about bash security issue CVE-2014-6271 ? Do you have a patch for that? The problem may exist in all Solaris versions.

    The official communication is now posted to
        https://blogs.oracle.com/security/entry/security_alert_cve_2014_7169

  • Nested for-each issue [Solved]

    Hi.
    First of all, just started looking into xsl, so please explain things carefully.
    I need to make a master-detail form, but the xml is a bit tricky.
    I've made a demo here:
    <DATASET>
    <ROWSET1>
    <ROW>
    <ID>1</ID>
    <NAME>Harry Potter</NAME>
    </ROW>
    <ROW>
    <ID>2</ID>
    <NAME>Draco Malfoy</NAME>
    </ROW>
    </ROWSET1>
    <ROWSET2>
    <ROW_R2>
    <OWNER_ID>1</OWNER_ID>
    <PC>HP</PC>
    </ROW_R2>
    <ROW_R2>
    <OWNER_ID>1</OWNER_ID>
    <PC>Dell</PC>
    </ROW_R2>
    <ROW_R2>
    <OWNER_ID>2</OWNER_ID>
    <PC>Compaq</PC>
    </ROW_R2>
    </ROWSET2>
    </DATASET>
    Here's what I want printed:
    Harry Potter
    -HP
    -Dell
    Draco Malfoy
    -Compaq
    Here's how I've tried making my xsl and if's for joining.
    <xsl:for-each select="DATASET/ROWSET1/ROW">
    <xsl:value-of select="NAME"/>
    <xsl:for-each select="../../ROWSET2/ROW_R2">
    <xsl:if test=" ../../ROWSET1/ROW/ID = OWNER_ID">
    <xsl:text>ID: </xsl:text><xsl:value-of select="../../ROWSET1/ROW/ID"/>
    <xsl:text>OWNER_ID: </xsl:text><xsl:value-of select="OWNER_ID"/>
    <xsl:text>PC: </xsl:text><xsl:value-of select="PC"/>
    </xsl:if>
    </xsl:for-each>
    </xsl:for-each>
    This only outputs
    Harry Potter
    Draco Malfoy
    If I remove the if/end if, it outputs
    Harry Potter
    ID:1 Owner_ID:1 PC:HP
    ID:1 Owner_ID:1 PC:Dell
    ID:1 Owner_ID:2 PC:Compaq
    Draco Malfoy
    ID:1 Owner_ID:1 PC:HP
    ID:1 Owner_ID:1 PC:Dell
    ID:1 Owner_ID:2 PC:Compaq
    Obviously there's a couple of things wrong, so if anyone could help out I'd be greatful.
    I know it's a bit tacky looping through twice to find matching id vs owner_id, but with this kind of xml I don't know any other way, and I can't change the xml. Fortunately it's not that much data so it shouldn't be too slow.
    Cheers,
    Vidar
    Message was edited by:
    Vidar
    :added solved to subject

    A solution that works is to great a for-each loop table using ROWSET1 and setting a variable to the ID value. Then put a nested for-each loop inside the first using ROWSET2 and using a filter on the for-each to filter for OWNER_ID like this:
    <?for-each:/DATASET/ROWSET2/ROW_R2[xdoxslt:get_variable($_XDOCTX, 'x')=OWNER_ID]?>
    for template then looks like the following:
    inialize variable 'x'
    for-each ROWSET1
    NAME
    ID set 'x'
    for-each ROWSET2[filter]
    OWNER ID PC
    end for-each
    end for-each

  • Capturing image sequences - issues with nested for loops

    Hi all,
    I've written a vi. to capture a specific number of images ('Image No') and save these images, outputted to a folder of my choice.  Each image is identified sequentially.  However, I wish to do a number of iterations ('Run') of this capture sequence, such that the filename of each image would be 'Filename (Run)_(Image No).png', e.g. run 5, image 10 would be 'Filename 5_10.png'.  I have tried a nested for loop for this but I receive an error 'Asynchronous I/O operation in progress' (I've attached a printscreen).
    Can anyone assist me in solving this problem?  Please find attached my vi.
    Kindest regards and thanks,
    Miika
    Solved!
    Go to Solution.
    Attachments:
    Image sequence save to file.vi ‏48 KB
    Labview problem.jpg ‏3841 KB

    Hi,
    You cannot create a folder if this one is already existing.
    Just check that the folder exists before creating it.
    Regards

  • What is the SAFEST SEQUENCE to convert from a Outlook/iPad/iPhone synced with MobileMe to syncing with iCloud (I have 10 years of calendar diary events and 3000 contacts) - I am worried about the data issues that have been posted about iCloud.

    What is the SAFEST SEQUENCE to convert from a Outlook/iPad/iPhone synced with MobileMe to syncing with iCloud (I have 10 years of calendar diary events and 3000 contacts) - I am worried about the data issues that have been posted about iCloud.
    This has worked fine with MobileMe with only a couple of minor glitches in the past.
    Any experience doing this the "right" way?

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • Nested For Loop Trouble?

    Ok I need to have a nested for loop that asks a user to enter in a int number from 1-50. Whatever the number is, lets say 4 I need the program to count up asterisk and count down asterisks, like this.
    This is my code:
    import java.io.*;
    public class Stars {
         static int n;
         static private InputStreamReader in = new InputStreamReader(System.in);
         static private BufferedReader br = new BufferedReader(in);
         public static void main(String[] Args)throws IOException
              System.out.println("Please enter in a number to see display: ");
              String num = br.readLine();
              n=Integer.parseInt(num);
              for(int i=1;i<=n;i++)
                   for(int j=1;j<=i;j++)
                        System.out.print("*");
                   for(int j=1;j<=i;j--)
                        System.out.print("*");
                   System.out.println();
    Can someone tell me what I am doing wrong so I can figure out my mistake(s).

    Ok, well I know that the loop relies on the number entered in by the user. So if i pick 3 the three enter in the loop and counts up in a for loop and for every number it counts up to the three it does a print("*"); Now what I am getting confused about is where the other for loop comes into play. I know that I need to start from the number I have which is 3, so I need to have one less than that and then count down. The thing is that i'm not sure where or how the second for loop gets implemented into the code. Does it get nested with the first loop like this:
    for(int i=1;i<=n;i++)
                   for(int j=1;j<=i;j++)
                            for(int j=n-1;j>=i;j--)
                        System.out.print("*");
                   System.out.println();
              }Or is the second for loop on its own like this:
    for(int i=1;i<=n;i++)
                   for(int j=1;j<=i;j++)
                        System.out.print("*");
                   for(int j=n-1;j>=i;j--)
                        System.out.print("*");
                   System.out.println();
              }If someone can help me understand, for this is my first time with nested for loops.

  • What is the correct fsck syntax for issue with invisible disk ?

    Hello everybody,
    My problem actually (I also have a problem with the 17" Install DVD) is to repair *3 disks* with *fsck command*, as the filesystems are damaged. I phoned Apple Assistance Saturday, for about 30 minutes, but finally the Advisor sent me a link to one of their thousands (and sometimes obsolete) articles, and the solution wasn't there entirely.
    I'll describe you the problem :
    One of my USB external disks (4TB data) *doesn't appear* after Startup, but when I use the Install DVD and Disk Utility, the application tells me it's OK, that the disk "SEEMS" to be alright etc. That's false.
    When I reboot with *Cmd + S* (root level), and tell Terminal (I have been obliged to print the four states of an American Extended keyboard) :
    "sudo fsck -fy /dev/disk4s1"
    the reply is :
    "BAD SUPER BLOCK: MAGIC NUMBER WRONG
    LOOK FOR ALTERNATE SUPERBLOCKS? yes
    SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE
    -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE
    SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8)."
    So, I use the *-b option* of *fsck command*, and :
    "fsck: -b flag *requires a number*"
    "-b size Specify the size, in bytes, of the physical blocks used by
    the -B option."
    So, I'm searching *since 3 days* (and *I'm learning a lot*, but nothing, of course, concerning my problem) the full info command to know *what sector address* I have to tell to -b to install an alternate superblock, because I need to know exactly at which places filesystems and *data start* and end.
    You understand, I suppose, that I can't use any of my softwares, because the disk is INVISIBLE (doesn't exist) after normal restarting.
    It's not MOUNTED nor UNMOUNTED.
    It exists (very well, thank you) when rebooting *with Apple Install DVD*.
    I'm under *Snow Leopard 10.6.5*, and I don't know if, perhaps,
    *there wouldn't be a problem* (or more) with this update ...
    That's what I've seen, in any case, on other places here,
    about several different issues.
    Please, Bob, Gary, Camelot, etresoft, Bill, Jun, Nils, Cole, Charles, Michael,
    gimme some help !
    If someone has the full solution, a beginning of solution,
    or a path to solution,
    thank you very, very much in advance !
    With my best regards
    Vialatte

    Dear Camelot,
    First, thank you very much for answering me and try to help me ;
    Secundo, please read, if you have time, what I replied to Bill Scott,
    and I have to thank you also for your slightly better contribution and understanding.
    Some words of what I've replied to him are written for you too :
    "I type *sudo fsck -fy /dev/disk4s2* (not s1, of course, and *Camelot is perfectly right*, having remarked this mistake, as *s1 is dedicated to partition map* volumes).
    There's also *a strange thing* with Disk Utility when starting from DVD :
    it doesn't display the s1 volumes as usual."
    As you've read it in my reply to Bill, it's a *complicated issue* and *Apple has no response*.
    You tell me : "+Good luck with that.+" It starts badly.
    "+It's been a long time since I've had to deal with superblocks+"
    I totally ignored their existence …
    "+- they just don't come up any more,+" What is the meaning of this sentence ?
    "+but I don't know any way of recovering the superblock address after a disk has failed.+" That's the matter of my question : *Is it a failure ?*
    "+Typically (at least, historically) you get the superblock addresses in advance, storing them somewhere safe until you need them.+"
    That's a total discovery for me.
    You tell me then : "+Are you talking about in the Finder here?+" Yes and no, I talk about the Sidebar (see below), but it's part of the Finder.
    "+Have you checked the Finder's preferences to make sure it's just not hiding external drives?+" I did, when you told me to do so.
    "+Since everything else tells you that the drive is OK+" Yes, you're right, when starting from Install DVD, that's *very strange*, but remember fsck doesn't say *the same at all* as Disk Utility ... "+this just sounds like a Finder preference setting to me.+"
    I'm sorry, it would have been wonderful. My settings are correct, that means :
    NOTHING on Desktop, ALL (including Computer) in the Sidebar (and clicking on Computer allows me to check that *no volume* has vanished from Sidebar (it happens sometimes).
    "+If it's not the Finder prefs, then please post the output of diskutil list in order to troubleshoot further.+"
    Here it is (a little far below), but there's *none of the 2 4TB volumes* (yes, there are two disks missing now) here, because, as I already said that, they are invisible for the Finder and *Disk Utility*, and I think *it's the same for Terminal.*
    You'll note there's *no BOOTCAMP partition* here (I removed it temporarly to solve this issue), and don't be afraid if there are several systems on the internal HD.
    As I noticed it here and there, there are problems with 10.6.5.
    So, I try to work with 10.6.4 (delivered with MBP 17"), but have also an universal 10.6.0 Snow Leopard, with which I can configurate 10.6 *at any state*.
    Unfortunately, I *can't use* (it so that Apple decided to do) the DVD delivered with my 15" MBP (rejected by 17"), because it is with my MBP 15" that I formatted those disks.
    *Another thing :* If I didn't want my wife *to install herself* (with me to help her) the 15" MBP I've gave to her (there's the 17" new 500GB 5400rpm installed in it by me), I would already have tried to connect these two 4TB, just to see.
    Last login: Fri Nov 26 21:22:38 on ttys005
    sys171064:~ OH$ diskutil list
    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *500.1 GB disk0
    1: EFI 209.7 MB disk0s1
    2: Apple_HFS Seagate 149.9 GB disk0s2
    3: Apple_HFS System 17 64.9 GB disk0s3
    4: Apple_HFS Sys171064 34.9 GB disk0s4
    5: Apple_HFS For Alu Black System 149.6 GB disk0s5
    6: Apple_HFS SL 10.6.x 100.0 GB disk0s6
    /dev/disk1
    #: TYPE NAME SIZE IDENTIFIER
    0: Applepartitionscheme *16.1 GB disk1
    1: Applepartitionmap 32.3 KB disk1s1
    2: Apple_HFSX olivier_herrbach 16.1 GB disk1s2
    /dev/disk2
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.0 TB disk2
    1: EFI 209.7 MB disk2s1
    2: Apple_HFS HSD 01 TM 600 Go 599.9 GB disk2s2
    3: Apple_HFS HSD 01 400 Go 120.6 GB disk2s3
    4: Apple_HFS DiskTools > Seagate ... 279.1 GB disk2s4
    /dev/disk3
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.5 TB disk3
    1: EFI 209.7 MB disk3s1
    2: Apple_HFS HELP ÉNERGIE 1,5 To 1.5 TB disk3s2
    /dev/disk4
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.0 TB disk4
    1: EFI 209.7 MB disk4s1
    2: Apple_HFS HSD USB 03 1To 999.9 GB disk4s2
    /dev/disk5
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *32.0 GB disk5
    1: EFI 209.7 MB disk5s1
    2: Apple_HFS Patriot USB Key 32 Go 31.7 GB disk5s2
    /dev/disk6
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.5 TB disk6
    1: EFI 209.7 MB disk6s1
    2: Apple_HFS WD USB 1,5 To 1.1 TB disk6s2
    3: Apple_HFS WD 02 350 Go Seagate 349.9 GB disk6s3
    /dev/disk7
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.0 TB disk7
    1: EFI 209.7 MB disk7s1
    2: Apple_HFS HSD USB 02 50 Go 49.9 GB disk7s2
    3: Apple_HFS HSD USB 02 715 Go 714.6 GB disk7s3
    4: Apple_HFS HSD USB 02 110 Go 110.0 GB disk7s4
    5: Apple_HFS HSD USB 02 100 Go 99.9 GB disk7s5
    /dev/disk8
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk8
    1: EFI 209.7 MB disk8s1
    2: Apple_HFS WD USB 2To 2.0 TB disk8s2
    /dev/disk9
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk9
    1: EFI 209.7 MB disk9s1
    2: Apple_HFS FW 03 TM 2To 2.0 TB disk9s2
    /dev/disk10
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.5 TB disk10
    1: EFI 209.7 MB disk10s1
    2: Apple_HFS FW 02 1,2 To 1.2 TB disk10s2
    3: Apple_HFS FW 02 200 Go 199.9 GB disk10s3
    4: Apple_HFS FW 02 CS5MC 50 Go 49.9 GB disk10s4
    5: Apple_HFS FW 02 Leopard 50 Go 50.0 GB disk10s5
    /dev/disk11
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk11
    1: EFI 209.7 MB disk11s1
    2: Apple_HFS FC 02 Time Machine 1.0 TB disk11s2
    3: Apple_HFS FC 02 SL 1To 999.5 GB disk11s3
    /dev/disk12
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk12
    1: EFI 209.7 MB disk12s1
    2: Apple_HFS FC 01A USB 1To 700.0 GB disk12s2
    3: Apple_HFS FC 01C 300 Go Leo 299.9 GB disk12s3
    4: Apple_HFS FC 01B USB 1To 699.8 GB disk12s4
    5: Apple_HFS Leopard 125 Go 300.0 GB disk12s5
    /dev/disk13
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk13
    1: EFI 209.7 MB disk13s1
    2: Apple_HFS FW 04 TM 2To 2.0 TB disk13s2
    3: Apple_HFS eDrive 12.9 GB disk13s3
    /dev/disk14
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk14
    1: EFI 209.7 MB disk14s1
    2: Apple_HFS FW 05 2To 2.0 TB disk14s2
    sys171064:~ OH$
    As you and I see, I strongly believe that disk15s2 and disk16s2 (with s3, s4, s5 etc. partitions) are missing.
    I must find a way to prove what I say to you. Remember that we are not in the case where I use *Cmd + s* after rebooting with Install DVD, but under normal utilisation. What follows has no interest :
    Last login: Fri Nov 26 21:23:55 on ttys006
    sys171064:~ OH$ sudo fsck -fy /dev/disk15s2
    Password:
    /dev/disk15s2: No such file or directory
    Can't stat /dev/disk15s2
    Can't stat /dev/disk15s2: No such file or directory
    sys171064:~ OH$
    So, I will now restart my MacBook Pro with Mac OS X 10.6.4 Install DVD, and go :
    —1 in *Disk Utility* ;
    —2 in Terminal (with *Cmd + s*).
    I'll *note all* what I see, and then write you what I found.
    You'll be nice to tell me if there's a way, in these conditions,
    a) to *save Disk Utility log* ; or/and
    b) to *save Terminal Output(s)* (.txt) ; or/and
    c) to *take and save screenshots*, ; or/and
    d) to *print anything*. (?)
    as I don't know how it's possible to save these informations.
    Thank you once more for your help. I'll do things now, but as it is 23:02 here in France, maybe I won't write you till tomorrow.
    But, if you can answer to a), b), c) or d) above, post it to me please, because I'll go back here tonight.
    And, also, *but I don't want to bore you*, I'd like to learn how to *copy and paste parts of messages* as you did, and how to *insert a Grab item (.png)* in a discussion, because an image is better than thousand words (that's what we say in France, but I'm sure we are not alone on Earth — like in the Universe).
    With my best regards
    Vialatte

  • TS3988 My credit card was charged about $100 for 8 different transactions.  Five were for 9.90.  These dates are Aug. 6, 7, 28 and 29.  I have not ordered anything and don't know what they are for.

    My credit card was charged about $100 for 8 different transactions.  Five amounts were $9.90.  These dates are Aug 6, 7, 28 and 29.  I have not ordered anything and don't know what they are for.  Please help me.  Linda Feddersen

    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    Linda.. if you have not done so, contact your credit card company so they can monitor your account.
    And change your Apple ID password ASAP >  Apple ID: Changing your password

  • Interrupting Nested For Loops/Sequences

    I have a lagre program consisting of nested for loops and case statements calibrating an array of patch antennas. The entire process of which will take about 15 hours. During this time, I want to have two things happen.
    Every 20 minuites or so, I want the process to stop what it's doing, follow certain commands for the measurement equipment to recalibrate itself, and then go back to what it was doing.
    I also want to protect it against unpredicted and predicted crashes. If the system needs to stop for whatever reason, I would like to be able to pick up the process where it left off. A sort of checkpoint system, where, when it passes a checkpoint, if it needs to be restarted, I can tell it to start from the last checkpoint it passed.
    Anyone had any experiece with these types of problems?

    jaysmall wrote:
    I also want to protect it against unpredicted and predicted crashes. If the system needs to stop for whatever reason, I would like to be able to pick up the process where it left off. A sort of checkpoint system, where, when it passes a checkpoint, if it needs to be restarted, I can tell it to start from the last checkpoint it passed.
    Could you open and append parameters to a file? Every time you restart execution of the vi after crashes you can look through the contents of the file to determine the last operation that was successful and continue with the last know good settings.  -SS

  • 106 nested for next loops!

    Well, this is not a problem, but I just had to mention that I could not believe that Java would actually process 106 nested for next loops. I had an hour of free time yesterday and we needed to run an exhaustive branch test of an application that we have, to do so we needed to have 104 data elements generated with all possible cases. I thought, what the heck, and tried it in Java--our old language wouldn't do that on it's best day and in our dreams! Java did it, it not only did it, but it left a clean environment after it was done!

    well, here is more the thing that comes to mind with i think about loop limits: in VB when you get a dozen or so pending closing parentesis, things start to go funny in memory and in some cases, the formula/routine becomes too complicated to interpret. Just how many pending closing parentesis will be accepted before things go bonkers.

  • Continuing asked about password for old Apple id on iphone5

    I have changed Apple id, but I still been asked about password for the old one on my iPhone 5. How do i solve this probleme?

    Are you saying you don't know the password for your old Apple ID?
    To update any apps, on your phone, obtained with your old ID, you will have to: Settings>Store...tap the ID shown...sign out...then sign back in with your old ID...update the apps, then sign out again & sign back in with your new ID. Is this what you're doing?
    There are only two ways to fix this: 1. Delete any content obtained with your old ID, then re-purchase with your new ID, or 2:
    Go here:
    https://expresslane.apple.com/Issues.action
    Ask for assistance, and ask that the content obtained with your old ID be transfered to your new ID. If iTunes support agrees to do this, they will add the content to your download queue.

  • Request for issuing

    dear all,
    i have a question when a department needs some items, and these items do exist in our stock (so it is not a PR)....is there a way to do this via the system (the request for issuing like reservation or something) .. also is it possible to to the department (would be a cost center) if it belongs to a different plant other than the warehouse. thank you

    for first part - if stock needed is already available then logically a production order should exist against which stock will be issued.
    for second question - it depends under which plant you need stock for consumption, if it is a different plant then where you have stock then stock needs to be transferred to the plant where it is needed. Further if both plants are under same co code then simple plant to plant stock transfer is sufficient.
    as suggested above we would surely like to know more details about your situation to help you.
    Yogesh

  • Button overlapping & nested button issues

    Hi ppl
    First up, here's my tiny sample project that i'm having issues with.
    Issue #1: i plan to have an entire wall of the symbols that i created, so users can click on our mugshots to enlarge the image and see some contact details. Is there a way to always make the active(clicked) symbol appear on top of the rest? Right now it's locked in the default layer order in Edge.
    Issue #2: Each symbol has its own mailto button nested in it which toggles on/off when its parent symbol is clicked. It works, BUT I cannot find a way to click that mailto button without activating the parent symbol's click event too.
    Spaghetti code aside (i'm not a developer), i'd really appreciate any help with the above!
    (Man it seems like i've been working on this forever *hysterical laughter*)

    Hi,
    Fix for Issue#1:
         a. Add sym.setVariable("count", 200); to compositionReady event handler.
         b. Then add the below code for click event handler for each symbol:
              var count = sym.getVariable("count");
              //console.log(count);
              sym.getSymbol("btn1").getSymbolElement().css({"z-index":count});   //use btn1 or btn2 accordingly for respective symbol
              sym.setVariable("count", count+1);
    Fix for Issue#2:
         Add e.stopPropagation(); to click event handler for both symbol mailTo buttons which will prevent the event propagation from mailTo btn to its parent.
    hope that helps,
    Vivekuma

Maybe you are looking for

  • Photoshop 13.0.6 on mac osx 10.9.5 with AD accounts

    Hi, I take care of 35 imacs at a school and photoshop is often freezing. The students login with their active directory accounts and work with files LOCALLY. Do you know if this setup causes problems? By the way, I was running a setup from a few year

  • Can I use UI-API connected company with DI-API business objects?

    Hi. I have to make some inventory transactions, by using DI-API business object Documents: SAPbobsCOM.Documents vInventoryGenEntry; vInventoryGenEntry = (SAPbobsCOM.Documents) oCompany.GetBusinessObject(BoObjectTypes.oInventoryGenEntry); But, the Com

  • How to implement the client

    it's very lucky to find the instant client but it's very unlucky my os is not listed in the table ,i have to implement the simple instant client in my os by myself ,who can tell me how to do it ?is there any lib supported by the gcc i can use ? thank

  • Unable to connect mac laptops and windows laptops on network at same time

    Hi I have a wrt110 router which has a wired windows desktop attached. I also have several mac laptops connected wirelessly as well as an hp printer ,video game system blue ray player ,ipod,iphone and kindle all which connect with no problem. I have a

  • My new MacBook Pro 15" Retina freezes- any help?

    No fun with my new Apple product. Almost every day I find my keyboard and trackpad locked during work. I've put it away for now and work only with my iMac. Is there some hope to get this nasty behaviour cured through a firmware- or software patch? Th