remove groups

Hello

I have 805 groups in my data, and in some cases, there are less then 805 groups (for example, 801).

now, I have a script to remove all groups except the first group.

My problem is:

If my data is only 801 groups, the script stops and say (I use an invalid value: permitted are the values form 0 to groupcount)

How can I solve this problem?

Here is the script I use for this:

number = 2
for gruppe = number of 809
do
Number = number + 1
If zahl<= 809="">
Call GroupDel (gruppe)
Call msglinedisp ("delete the Group Nr." + str (number))
end if
loop until (number > 809)

hope someone can help.

Thank you

Hi portas,

Why don't you write something like this:

I have Sun

for i = 2 to groupcount
Call GroupDel (groupcount)
Call msglinedisp ("delete the Group Nr." + str (groupcount))
Next

Regrads,

Philipp K.

AE | NOR-Germany

Tags: NI Software

Similar Questions

  • Remove group policy that blocks USB

    I have a group policy that is configured to block access to removable devices for all users. There is a group in Active Directory (2008 R2) that users can be put to block access to the policy and a policy that allows the removable devices. When users are in the group, the registry is changed so that they should have access, but when they try to access a CD or USB drive, they get "access denied".

    The policy to block (and allow) access is by using Configuration of user - political - administrative templates - system - removable storage access. I "CD and DVD: deny read access", "CD and DVD: deny write access", "floppy drives: deny read access", "Floppy Drives: deny write access", "removable disks: deny read access ', ' removable disks: deny write access", "all removable storage classes: refuse access to all the", "Ribbon devices: deny Read access", "Ribbon devices: deny Write access", "WPD devices." ": deny Read access ' and ' WPD Devices: deny Write access.

    On the strategy of blocking, all who are set to enabled and the policy to allow it, all are set to disabled. If the user is allowed access after that be denied that they are always refused on their main computer. If they log on another computer, it works.

    Why the police work as it should?

    Hello Kevin,

    Thank you for visiting Microsoft Community and we provide a detailed description of the issue.

    According to the description, I understand that the problem with Group Policy delete that blocks USB into the computer.

    Certainly, I understand your concern and will try my best to help you.

    To get more information about it, we have a dedicated forum where these issues are dealt with and would be better suited to the TechNet community.

    Please visit the link below to find a community that will provide the best support.

    https://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • Remove groups of styles

    Hello! I have about 400 Indesign documents that have all of the 29 groups of paragraph style I need is no longer. Is there a way to delete these, as well as of their content, with a script? All style groups a group of corresponding character style that would be fine if it were to be deleted also.

    Greetings from Records,

    Mikael home

    Try this,

    var myInddFileList = File.openDialog ("Choose the InDesign files to remove Paragraph Style Group..." , "*.indd", true);
    for (var f = 0; f < myInddFileList.length; f++)
    {
        var myInddFile = app.open(File(myInddFileList[f]));
        var myDoc = app.activeDocument;
        var myParaGroup = ["paragroup1", "paragroup2"]; //mention your paragraph style group name here
        var myCharGroup = ["chargroup1", "chargroup2"]; //mention your character style group name here
    
        //Deleting the content of Paragraph Style Group
        for(i=0; i
    

    Vandy

  • Remove group request simultaneous program

    Hello

    By mistake, I added the simultaneous program to the group asked, is it possible to remove it?

    Thank you.

    Go to the form groups of application-> query for the request group

    Place the cursor on the simultaneous program you want to delete and click the delete icon (icon 'X' of red color in the toolbar) and save the record

    -Jay

  • Windows Explorer - library questions: remove groups

    PROBLEM:

    ---------------------

    WHAT I WANT IT to LOOK:

    I don't know how it happened, but it's really annoying and I want to fix this ASAP. The problem is in my music folder, it shows the text in blue, and I don't want it looking like that. It has never been like this before. It just happened by chance.

    Do a right click, group of > no

  • FNDLOAD: How to remove a simultaneous program to a group of request

    Hello

    I want to delete a simultaneous program to a group of demand using utility FNDLOAD. Since the contaminated environment is Production (controlled environment) I don't want to manually remove group request simultaneous program. Is it possible to use the FNDLOAD utility to this effect or other means?

    Environment: Oracle EBS R12.1.1
    OS: Linux

    Thank you
    Nitin

    Hello

    The control file for download application groups is afcpreqg.lct, although I'm not sure it will work properly when deleting groups demand simultaneous programs. A simpler option is to use the fnd_program.remove_from_group API.

    It will be useful.

  • How can I change the group that is assigned to a contact?

    I synchronize contacts on my 2 iPhones, 2 iPads, MacBook Pro and iMac. I would like to change some of my current designations of the group for some of my contacts. How can I change the group that is assigned to a contact?

    Mark,

    First of all, make sure that you deal with iCloud contacts.

    With the help of your MacBook Pro or iMac Contacts open and remove unwanted contacts outside the group. You will be asked "do you want to remove the card for 'XXX' or delete Group 'YYY'.» Choose "remove group.»

    Then go to "All Contacts" and drag the name of the new group.

    If you want to see what the contact belongs to groups, click on the contact and press 'option '. All groups with this name will be highlighted.

  • Is it possible to add an extra step group?

    I would like to add additional groups of Step, in order to better organize my test sequence.  This would only be for purposes of Visual Organization and is not related to the call of subsequences.  I think that reports, as well as documentation would be easier to read if there was a way to separate the groups of sequences / in smaller sections.  I understand that this can be partially achieved by using the sequence of calls, but I found the data record is much more straight forward if I can keep the steps in order of higher level (I need not to pass the data through variables or parameters).

    Please let me know if this is possible, or if there are other suggestions for a better visual organization.  Thank you.

    GSinMN

    Unfortunately you can't add/remove groups stage.  You can only ever to have 3.

    However, you can use the step Label and hide the icon, name and status.  You can use several steps of the label to achieve certain look:

    No label to hide everything

    Label not hide everything except the name (the name will be description section)

    No label to hide everything

    You can also change the icon of the step of the label to help identify the section as well.

    Hope this helps,

  • Remove the entire sequence of xml using the stylesheet

    I have just begun to develop with TestStand and its XML report generating functionality and managed to skip most learning hedges previously except for this one:

    I want to be able to remove an entire sequence (and all the sub-sub-activities/sequences below).  I created successfully filtering expressions in a report.xsl custom to remove "failed" a steptype specific tests.  However, removing all THE measures/actions that belong to a sequence of parent has baffled me.

    To illustrate, I have 3 sequences in my mainsequence file called 'Group A', 'Group B', Group C".  I have three different style sheets that will percolate one of these three groups.

    If the (unfiltered) gross output looks like this:

    Group A

    -Start the sequence group A

    -Step 1

    -Step 2

    -Sous-suite A1

    -Step 1

    Group B

    -Start the sequence group B

    -Step 1

    -Step 2

    -B1 sous-suite

    -Step 1

    Group C

    -Start the sequence group C

    -Step 1

    -Step 2

    -Sous-suite C1

    -Step 1

    I would like to be able to filter the xml so that it deletes the Group B entirely, as follows:

    Group A

    -Start the sequence group A

    -Step 1

    -Step 2

    -Sous-suite A1

    -Step 1

    Group C

    -Start the sequence group C

    -Step 1

    -Step 2

    -Sous-suite C1

    -Step 1

    I am extremely new to XML and XSL style sheets and how they interact with TestStand.  Is what I'm trying to do possible?  Like a relief, I suppose I could somehow tag each action in a sequence with the group that he runs sub - possibly by using a string in 'other results', but it would be very laborious and prone to error.

    Any guidance is appreciated.

    Thank you for your time,

    Matt

    SOLVED!

    Turn, the response was not as difficult as I thought.  The action to remove an entire sequence is actually not very different from remvoing one step 'failed' or 'NI_FLOW' steptype.

    The snippet for the solution is shown below and may be merged with anything that currently exists in your .xsl style sheet:

    function CheckIfStepSatisfiesFilteringCondition_node(node)
        {
           //ADD_STEP_FILTERING_CONDITION
           //Modify the filtering condition here to filter steps shown the report.
    
           //Grab the displayed step name
                 var stepName = node.selectSingleNode("Prop[@Name = 'TS']/Prop[@Name = 'StepName']/Value").text;
    
                 //Test if step name corresponds to sequence desired for removal ("Group B" in this example)
                 if (stepName=='Group B')
                   return false;
           return true;
         }
    

    If a step name never matches 'Group B', not only is removed from this row of the report, but all measures under this parent are also deleted.  It's exactly what I was describing in the op.

  • Can I create my own groups of permissions in Microsoft Explorer?

    Can I create my own groups of permissions in Microsoft Explorer? In Solution Explorer, when just by clicking on a folder and choosing Properties / Security / Edit, you can add or remove groups or users of singel. But you can create your own groups of users on your own? There are already several user groups available for the management of permissions, but I want to build my own groups.  I have no right of administration, I am just an "end user".

    Hello

    Yes, you can create your own group and assign permissions to the group. I suggest you try the following steps.

    a. on the desktop, right click my computer and then click on manage.

    b. in the maintenance window of the computer, under System Tools, expand local users and groups.

    c. right-click groups, and then click New Group.

    d. in the new Group dialog box, do the following:

    Group name:   Type the name of the group you want to create.

    Description: Optionally, type a description for this group account.
            
        Add:     Click Add to select the members to add to the group.
    Add the user accounts that you want for the management group.

    e. click on create.

    f. Repeat steps 4 and 5 for other required administrator groups.

    g. click Close.

    h. click the folder groups and verify that the groups you want to create from the list.

    If the problem persists, then I suggest you post on the forums of Windows 7 IT.

    http://TechNet.Microsoft.com/en-us/Windows/dd361745.aspx

    Post us the results after trying the steps above.

  • Group - Here / global attributes required in ASA 9 + code for a Tunnel L2L?

    Hi all

    I have a core ASA that runs 8.04 code, IKE v1 only and do not have group policies for each tunnel IPSec individual L2L defined or applied under the tunnel groups.  However, many of my ASA branch are code ASA 9 +.  When I create a tunnel on a branch of 9 + ASA code in ASDM kernel ASA, ASA automatically configures group policy and apply it to the Group of the tunnel as a general attribute.

    Question: If my heart ASA is not defined or applied to groups-tunnel group strategies, then is the group policy that is automatically created & applied on the branch of 9 + ASA code for this tunnel required? Or is it questionable because the other end is not configured/applied?  If it is questionable, so I want to clean the ASA configs by removing Group Policy, but I assure you it's safe first.

    Example:

    Box office: Code 9 + ASA:

    internal GroupPolicy_50.xxx.xx.190 group strategy
    attributes of Group Policy GroupPolicy_50.xxx.xx.190
    Ikev1 VPN-tunnel-Protocol
    tunnel-group 50.xxx.xx.190 type ipsec-l2l
    tunnel-group 50.xxx.xx.190 General-attributes
    Group - default policy - GroupPolicy_50.xxx.xx.190
    50.xxx.XX.190 group of tunnel ipsec-attributes
    IKEv1 pre-shared-key *.

    Kernel: 8.04 Code ASA:

    tunnel-group 12.xxx.xxx.178 type ipsec-l2l
    12.xxx.xxx.178 group of tunnel ipsec-attributes
    pre-shared-key *.

    You are required to have a site to site and RA VPN also group policy.  However, if you do not set a group policy, the tunnel will default to the default group policy.

    --

    Please do not forget to select a correct answer and rate useful posts

  • How to form groups for my emails?

    I want to send daily emails to a group of friends. How can I train this group to save time?

    Contacts are now calling people.

    To access people to Outlook.com, hover over the Outlook logo in the upper left corner and click the arrow that appears to the right of the Outlook logo.
    Select people.

    Back to your Inbox from people:

    Hover over the logo of people and click the arrow that appears to the right of the logo of the people. Select mail.
    You can also get calendar or Skydrive in the same way.

    Your list filtering:

    Above the search box at the top of the Contact list on the left, is a filter option that says "All".
    If you click on this, you should see one of the groups created in the past.
    Click on one of them to filter your list to all the contacts in this group.

    By selecting one or more Contacts:
    If you click on a contact in the list name, the details for that contact will appear on the right.
    Alternatively, if you click the checkbox to the left of the picture of the contact, you can create a list of contacts selected on the right by clicking on the checkbox to the left of several contacts.

    Add or remove a group membership:

    If you select one or more contacts, you will see a bar option from the top to the groups menu.
    If you click it, and then it displays the list of groups with a checkbox that is enabled for each group that the contact (s) is / is a member of.

    You can uncheck to remove or check to add, select contacts in the selected groups and then click on apply to apply the changes.
    Your selected contacts will then be updated to be added or removed groups you have chosen as appropriate.

    Delete
    When you select one or more contacts, you will see an option in the top menu bar to remove.
    If you click on delete and click on remove in the confirmation box, the selected contacts will be removed.

    Edit:
    You can change if you clicked on a single contact (name or photo) in the list on the left to see details on the right.
    When you view the details, click on edit in the menu bar to change or add details.



  • Active Directory groups can be put into service in the FDMEE places?

    Hi experts FeeDMEE:

    We are upgrading to HFM/FDMEE 11.1.2.4.    We would like to use only the Active Directory groups for our security in Shared Services.

    I did a lot of audit looking at whether we can use security location FDMEE ad groups.  So far, the only way I found to make the security location uses the native approach (settings / security settings / security location...) Security by location, click on keep usergroup to set up groups).    But it doesn't seem to be an option if you create groups such as native or ad groups (FDMEE them creates only natively).

    Does anyone know if it is possible in FDMEE to use security of the location ad groups?

    Thank you
    Mark Smith

    I discovered that it is more possible for FDMEE create Aboriginal groups for the security of the location.

    However, Active Directory groups can be added as members of indigenous groups.   In this way, users should only be added to Active Directory groups.    The only maintenance is to add or remove groups active directory to or from the indigenous groups of FDMEE.

  • Remove styles of paragraph and character (keep substitutions)

    Hello

    Trying to write a script that will delete all the points and character Styles that are also included in the groups and keep overrides.

    So far:

    //Remove paragraphStyles
    var docs = app.documents.everyItem().getElements();  
    var dl = docs.length;  
    while (dl--)   
        {  
            var parStl = docs[dl].paragraphStyles.everyItem().getElements();  
            var pl = parStl.length;  
            while (pl--) if (parStl[pl].name != "[Basic Paragraph]" && parStl[pl].name != "[No Paragraph Style]") parStl[pl].remove();  
         }
    
    
    //Remove characterStyles
    var chs1 = myDoc.characterStyles.length;    
        for(var j=chs1-1; j>0; j--)
        {    
          myDoc.characterStyles[j].remove();    
        }
    

    After you change the code snippet to remove groups:

    main();
    function main(){
        var targetDoc = app.activeDocument;
        removeAllTypeStyles (targetDoc);
    }
    
    function removeAllTypeStyles (targetDoc) {
        //remove all paragraph styles
        for (var ps = targetDoc.allParagraphStyles.length - 1; ps >= 0; ps--) {
            if (targetDoc.allParagraphStyles[ps].name != "[No Paragraph Style]" && targetDoc.allParagraphStyles[ps].name != "[Basic Paragraph]") {
                targetDoc.allParagraphStyles[ps].remove (targetDoc.paragraphStyles.itemByName ("[No Paragraph Style]"));
            }
        }
        //remove all character styles
        for (var cs = targetDoc.allCharacterStyles.length - 1; cs >= 0; cs--) {
            if (targetDoc.allCharacterStyles[cs].name != "[None]") {
                targetDoc.allCharacterStyles[cs].remove (targetDoc.characterStyles.itemByName ("[None]"));
            }
        }
        //remove all paragraph style groups
        for (var pg = targetDoc.paragraphStyleGroups.length - 1; pg >= 0; pg--) {
            targetDoc.paragraphStyleGroups[pg].remove ();
        }
        //remove all character style groups
        for (var cg = targetDoc.characterStyleGroups.length - 1; cg >= 0; cg--) {
            targetDoc.characterStyleGroups[cg].remove ();
        }
    }
    
  • Copy a contact group?


    How is it, I'm not able to make a copy of a Contact Group (just like I can with other assets in Eloqua?)

    Hello Siera

    No, he won't 'remove' group. Contacts will remain in the existing group and the other group so added.

    -Zainab

Maybe you are looking for

  • remove the pass

    How can I remove the password of an account - I don't know even where I connect or go for this in firefox

  • Can not turn on my Satellite P100

    Today my Satellite P100-115 off itself shortly after that I turned it on for the third time. I don't see the Toshiba logo at the beginning, in fact, the screen was all black. He died without making sounds or noises. I tried twice and then I took a DV

  • How can I get rid of the code 80070422 won't let me load the windows updates

    I can not load any windows updates get them all is code 80070422 and said to get help, I tried all the normal with the administrative tools, and using safe mode but nothing seems to work, please help me I have more patience

  • Why key tunnel must be same in DMVPN

    Hello world need to understand why key tunnel must be the same between all routers in the DMVPN? Thank you MAhesh

  • Files corrupt/blue screen

    I have an old laptop 900 persario (906US) and it works most of the time, but I get the dreaded blue screen that says I have a corrupted file. I lost my recovery disc and that you want to know if I can download a recovery disc on my desk to use on my