DataGrid itemrenderer with the switch statement

Hello

I have the DataGrid with the columns

< mx:DataGrid id = "dgvParagraphs" >
< mx:columns >
< mx:DataGridColumn dataField = "type" headerText = "Type" / >
< mx:DataGridColumn dataField = "title" headerText = "Title" / >
< mx:DataGridColumn dataField = "happy" visible = "false" / >
< / mx:columns >
< / mx:DataGrid >

Under the type column I have values between 1 and 6. Each issue contains the content type. I have icons for each type. I want to show an icon instead of the right number. I know that this can be done using itemrenderes, but I do not know how to proceed.

If this post answers your question or assistance, please mark it as such.

Greg Lafrance
www.ChikaraDev.com

Support and Flex development services

You might see problems with this code for scrolling, as DataGrid recycles itemRenderers, but in this case the information of the icon must be in the data.



  
    
  
  
    
      
        
          
            
          
        
      
      
      
    
  
  
    
      
        2
        My Title 1
        Content 1
      
      
        5
        My Title 2
        Content 2
      
      
        3
        My Title 3
        Content 3
      
      
        1
        My Title 4
        Content 4
      
      
        4
        My Title 5
        Content 5
      
      
        6
        My Title 6
        Content 6
      
      
        2
        My Title 7
        Content 7
      
      
        1
        My Title 8
        Content 8
      
      
        4
        My Title 9
        Content 9
      
      
        5
        My Title 10
        Content 10
      
      
        2
        My Title 11
        Content 11
      
    
  

Tags: Flex

Similar Questions

  • Problems with the switch statement

    There everyone,

    I tried to build a page with 4 buttons. Each button is a symbol that contains 2 png´2 who are the drawings of the key. If you click on the button 1, he has to move on the screen. If you click it again it should back off. and if you click on another button button1 is active then button1 should return to the starting position and button 2 should come on the screen.

    I use a switch statement and a variable.

    composition ready, I used

    sym.setVariable("current","");

    to set the Variable

    each button (one of the png within the symbols), I used:

    var = sym.getComposition.getStage.getVariable ("current") courses;

    switch (current)

    {

    case ' ':

    SYM. Play ("in");

    break;

    case button1:

    SYM. Play ("out");

    break;

    by default:

    sym.getComposition.getStage.getSymbol (current) ("out") .play;

    SYM. Play ("in");

    break;

    }

    announcement each animation buttons are labels for the entrance and animation. There are also triggers that change the current variable on the stage

    sym.getComposition.getStage.setVariable ("current", "button1");

    If I test inside a browser and click the button nothing happens.

    I m what do not know my mistake.

    can someone help me?

    concerning

    Mr.Monsen

    Hello

    Some errors of syntax in red:

    class var = sym.getComposition () .getStage () .getVariable ("current");

    switch (current)

    {

    case ' ':

    SYM. Play ("in");

    break;

    case "button1":

    SYM. Play ("out");

    break;

    by default:

    sym.getComposition () .getStage () .getSymbol (current) ("out") .play;

    SYM. Play ("in");

    }

    sym.getComposition () .getStage () .setVariable ("current", "button1");

  • the Random var button works only not with the switch statement

    I have a button randomly on the erasure of the scene in. I'm testing button that fades in, because I have different URL according to the button it is on. Here is the code that I use, and which generates no errors... just does not work. I am unable to find the correct key, but do not work my switch statements. I don't know if it's one thing to syntax or another problem. Thank you!!

    var currentImage:MovieClip;

    var arrGrowing:Array = new Array (resume_mc, magazine_mc, suitcase_mc, monopoly_mc, superhero_mc, hat_mc,

    chair_mc, books_mc, lightbulb_mc);

    for (var i = 0; i < arrGrowing.length; i ++) {}

    arrGrowing [i] .alpha = 0;

    arrGrowing [i] .buttonMode = true;

    arrGrowing [i] .addEventListener (MouseEvent.CLICK, onButtonClick);

    }

    function initLoop (): void {}

    currentImage = arrGrowing [Math.floor (Math.random () * arrGrowing.length)];

    var exitTween:Tween = new Tween(currentImage,"alpha",Regular.easeOut,0,1,12,false);

    }

    function onButtonClick(e:MouseEvent):void {}
    switch (currentImage) {}
    case resumes:
    var url: String = "http://www.yahoo.com"; ""
    var req:URLRequest = new URLRequest (url);
    navigateToURL (req, "_self");
    break;
    }

    I don't see where CV refers to any thing implied by your code.  There is a resume_mc if that's what you're trying to test.

  • 0xC000021A {fatal system error}, the initial session process or the process of the complete system in unexpected ways with the blocking state 0 x 00000000 (0xc0000034 0x001008ac) the system has been halted

    Hello! I got this message from malware (I clicked to delete) in surfing on firefox and after awhile the explorer.exe closes with an error. I try to open the Task Manager and it says explore cannot be found!
    I rebooted and then I got this message "0xC000021A {fatal system error}, the initial session process or the process of the complete system in unexpected ways with the blocking state 0 x 00000000 (0xc0000034 0x001008ac) the system has been halted" and can't get anywhere.
    I can't even go in safe mode, the same error messages appears.

    Hi James,

    You could try the Startup Repair to see if it solves the problem:

    http://Windows.Microsoft.com/en-us/Windows-Vista/startup-repair-frequently-asked-questions

    Chris
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Procedure with the DML statements that insert values from 1 to 100 in only one table and it is matching word equivalent in the other

    Can someone help me create a procedure with the DML statements that insert values from 1 to 100 in a table "abc" and the procedure must connect the numbers into words in another table "xyz" without doing a commit explicitly. "."

    Currently on trial...

    SQL > create table abc (num number);

    Table created.

    SQL > create table xyz (num varchar2 (100));

    Table created.

    SQL > ed
    A written file afiedt.buf

    1. insert all
    2 values of 1 = 1 then in abc (num) (l)
    3 when the values of 1 = 1 then in xyz (num) (to_char (to_date(l,'j'), 'jsp'))
    4 * Select the level from dual connect by level<=>
    SQL > /.

    200 rows created.

    And the result...

    SQL > select * from abc;

    NUM
    ----------
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    ..
    ..
    ..
    98
    99
    100

    100 selected lines.

    SQL > select * from xyz;

    NUM
    ----------------------------------------------------------------------------------------------------
    one
    two
    three
    four
    five
    six
    seven
    eight
    nine
    ten
    Eleven
    twelve
    ..
    ..
    ..
    98
    Nineteen eighty
    Cent

    100 selected lines.

  • Help with the insert statement

    Hello

    I was wondering if someone could help write me a sql statement.

    Here is my table:
    CREATE TABLE "TEMP_INVOICE" 
       ("INVOICE" VARCHAR2(100 BYTE),
         "DATE_OF_DOCUMENT" DATE, 
         "DATE_OF_PAY_DAY" DATE, 
         "D" NUMBER, 
         "K" NUMBER
       );
    Here are the instructions for correct insertion. This time, I posted 2 examples with 2 numbers different otherwise.
    insert into temp_invoice (invoice,DATE_OF_DOCUMENT,DATE_OF_PAY_DAY,d,k)  values (1000,to_date('01.02.2012','dd.mm.yyyy'),to_date('01.03.2012','dd.mm.yyyy'),5000,0);
     
    insert into temp_invoice (invoice,DATE_OF_DOCUMENT,DATE_OF_PAY_DAY,d,k)  values (1000,to_date('01.04.2012','dd.mm.yyyy'),'','',1000);
     
    insert into temp_invoice (invoice,DATE_OF_DOCUMENT,DATE_OF_PAY_DAY,d,k)  values (1000,to_date('01.05.2012','dd.mm.yyyy'),'','',3000);
     
    insert into temp_invoice (invoice,DATE_OF_DOCUMENT,DATE_OF_PAY_DAY,d,k)  values (1000,to_date('01.06.2012','dd.mm.yyyy'),'','',1000);
    
    insert into temp_invoice (invoice,DATE_OF_DOCUMENT,DATE_OF_PAY_DAY,d,k)  values (2000,to_date('01.07.2012','dd.mm.yyyy'),to_date('01.09.2012','dd.mm.yyyy'),8000,0);
     
    insert into temp_invoice (invoice,DATE_OF_DOCUMENT,DATE_OF_PAY_DAY,d,k)  values (2000,to_date('01.10.2012','dd.mm.yyyy'),'','',5000);
     
    insert into temp_invoice (invoice,DATE_OF_DOCUMENT,DATE_OF_PAY_DAY,d,k)  values (2000,to_date('01.11.2012','dd.mm.yyyy'),'','',2000);
     
    insert into temp_invoice (invoice,DATE_OF_DOCUMENT,DATE_OF_PAY_DAY,d,k)  values (2000,to_date('01.12.2012','dd.mm.yyyy'),'','',1000);
    I want to do is make an insert allows you to table another call is MADE:
    CREATE TABLE "INVOICE" 
       ("INVOICE" VARCHAR2(100 BYTE),
        "DATE_OF_DOCUMENT" DATE, 
         "DATE_OF_PAY_DAY" DATE,
         "DATE_OF_PAYMENT_REC" DATE,
         "VALUE" NUMBER,
         "VALUE_DEDUCT" NUMBER,
        "DATE_FROM" DATE,     
         "DATE_TO" DATE
         );
    Statements in the INVOICE table should be like this:


    ........ The Bill... date_of_document... date_of_pay_day... date_of_payment_rec... value... value_deduct... Date_from... Date_to
    1......     1000...............1.1.2012.................1.3.2012................NULL............................ 5000... NULL... 1.3.2012...1.4.2012
    2......     1000...............1.4.2012.................NULL..................... 1.4.2012...1000... 4000... 2.4.2012... 1.5.2012
    3......     1000...............1.5.2012.................NULL..................... 1.5.2012...3000... 1000... 2.5.2012... 1.6.2012
    4......     1000...............1.6.2012.................NULL..................... 1.6.2012...1000


    Can someone help me with the sql statement that would insert data from table to table Bill temp_invoice as in the example?

    Thank you!

    PS

    I would try to explain.
    (1) the first statement that is to be inserted is original imply that at which is different DATE_OF_PAY_DAY to NULL.
    To this inserted negative of the original imply, we must add date_from that is exatly the same date_of_pay_day and date_to which is exactly the same as the date of the first payment. Payment which came first!
    (2) we have now in the second insert statement. It will be the first payment of lease with date_of_document and date_pf_payment_rec, which is the same as date_fo_document. Value field will be populated with the amount of payment received and value_deduct field will be the value of the original imply - value of the first payment. Date is date_of_document + 1 and date_to is the date of the next payment.
    (3) Insert us the next installment. Date_od_payment_rec is the same as date_of_document... value is the amount of the second payment and value_deduct's previous value_deduct which was of 4000 - value of this second payment. date_from date_of_payment_rec + 1 and date_to is the date of the next payment

    So we continue this same pattern until we reached the final payment when we finish insert with the statement:
    Date of the document (date of the last payment received) and even for date_of_payment_rec and field value with the amount of the payment receieved. The rest (value_deduct, date_from, date_to) is null.

    I really hope you understand what I'm trying to do here.

    If you have any other questions please.

    Published by: user13071990 on November 22, 2012 04:16

    Published by: user13071990 on November 22, 2012 04:16

    Hello

    user13071990 wrote:
    ... Here are the instructions for correct insertion. This time, I posted 2 examples with 2 numbers different otherwise.

    Ok!
    Be sure to post the results you want new data.

    You probably need to add "PARTITION BY the Bill" to all analytical clauses in my solution:

    INSERT INTO invoice
    ( invoice, date_of_document, date_of_pay_day, date_of_payment_rec
    , value,   value_deduct,     date_from,           date_to
    )
    SELECT       invoice
    ,       date_of_document
    ,       date_of_pay_day
    ,       CASE
               WHEN  k > 0
               THEN  date_of_document
           END          AS date_of_payment_rec
    ,       NVL (d, k)     AS value
    ,       NVL2 ( date_of_pay_day
                , NULL
                , SUM (d) OVER ( PARTITION BY  invoice
                                          ORDER BY      date_of_document
                         )
                - SUM (k) OVER ( PARTITION BY  invoice
                                          ORDER BY      date_of_document
                         )
                )     AS value_deduct
    ,       NVL ( date_of_pay_day
               , date_of_document + 1
               )          AS date_from
    ,       LEAD (date_of_document) OVER ( PARTITION BY  invoice
                                            ORDER BY      date_of_document
                               )
                          AS date_to
    FROM       temp_invoice
    ;
    

    Because I'm not an English speaker nativ, that I just posted what it should look like after the insert is successful.

    OK, so you can't explain as you want, but you still need to explain.

    ... @Frank Kulash: you are very close, but still not quite what I'm looking for.

    Point out where my solution is the production of incorrect results, and explain (as you can) how to get good results in these places.

  • need help with the Update statement

    Hello
    I received a question in a course and I tried my best to respond, and now my brain is giving. I would really appreciate help with the update statement. I don't mind if you do not validate a solution, a little nudge in the right direction would be really useful. I'll post that I got.

    THE QUESTION
    / * For these agents disabled on more than seven missions, change their date of deactivation of the first date of deactivation of all the agents that have been activated in the same year as the agent that you update currently.
    */

    I have it divided into parts, here is my select statement to agents disabled on more than 7 missions, which produces the deactivation_dates in the agents table that I want to update...
    SELECT
    s.deactivation_date
    FROM
    (
    SELECT
    a.deactivation_date,
    count(m.mission_id) as nomissions
    FROM
    agents a
    INNER JOIN
    missions_agents m
    on
    a.agent_id=m.agent_id
    GROUP BY
    a.deactivation_date
    ) s
    WHERE
    s.nomissions>7 AND s.deactivation_date IS NOT NULL
    .. .and the code for the first date of deactivation for each year of activation agent
    select 
    a2.deactivation_date
    from
    agents a2
    where a2.deactivation_date= 
    (
    select min(a.deactivation_date)
    from 
    agents a
    where to_number(to_char(a.activation_date,'YYYY'))=to_number(to_char(a2.activation_date,'YYYY'))
    )
    ..... I am not real to marry these two statements together in the Update statement. I can't extract each date of deactivation produced in the first select statement and their match against the first date of deactivation in the year they have been activated for the second select statement.

    Any help greatly appreciated... :))

    I began to wonder how things would :)

    user8695469 wrote:
    First of all why he chooses the date the earliest of all agents

    UPDATE  AGENTS_COPY AC /* (1) */
    SET     DEACTIVATION_DATE = (
    SELECT  MIN(AGS.DEACTIVATION_DATE)
    FROM    AGENTS_COPY  AGS
    ,       AGENTS_COPY AC /* (2) */
    WHERE   TRUNC(AGS.ACTIVATION_DATE,'YEAR') = TRUNC(AC.ACTIVATION_DATE,'YEAR') /* (3) */
    )
    

    He recovers as soon as the subquery has not been correctly set in the SET clause. It seems you are trying to update a correlated, but we are still having a conceptual shift. I have added a few comments to your code above and below will explain.

    (1): when you do a correlated update it is useful to the table alias that you did right here.

    (2): this table statement is not necessary and is the reason why the FIRST deactivation date is selected. The alias that you use (3) refers to THIS table, not the one defined in the update statement. Remove the line indicated by (2) in the FROM clause and a correlated update will happen.

    and secondly why is it to update each row, when I thought that I'm just the lines where the agents are disabled and missions > 7? Pointers on where I'm wrong would be very appreciated. (SQL = stupid query language!) :)

    user8695469 wrote: then why is it to update each row, when I thought that I'm just the lines where the agents are disabled and missions > 7? Pointers on where I'm wrong would be very appreciated. (SQL = stupid query language!) :)

    
    WHERE EXISTS
    (
    SELECT
    a.agent_id,
    count(m.mission_id)
    FROM
    agents a
    /* INNER JOIN AC ON AC.AGENT_ID = A.AGENT_ID */
    INNER JOIN
    missions_agents m
    ON
    a.agent_id=m.agent_id
    GROUP BY
    a.agent_id,
    a.deactivation_date
    HAVING
    count(m.mission_id)>7 AND a.deactivation_date IS NOT NULL
    )
    

    Once again this problem is similar to the question above that a correlation update doesn't work. Test existence of lines in an EXISTS subquery. Since your subquery is not related to the table that you are trying to update, it will be always return a line and, therefore, it returns true for EACH LINE in the AGENTS table. To limit the game to only agents > 7 missions results, you need to add a join condition that references the table in your update statement. I added one above (with comments) as a sample.

    I recommend you look over all material that you have associated with correlated subqueries, including documents that I posted above. This seems to be what you're having the problem more with. If you need me to explain the concept of correlated queries any better please let me know.

    Thank you!

  • Help with hard drives and the "switch" statement

    All the

    I was wondering if you could please help? It's probably more to do with "powershell" than powercli but are... What I'm trying to achieve is the ability to create a function that runs through all my VM - counts the number of hard drives by VM - crosses EACH hard drive and gives me the ability of each of them. He then returns to a csv file (which iknow how to do). The segment below is pretty well what I want, but I was wondering if there was a way to reduce the amount of code! I tried using a foreach statement, but got stuck (PS - the maximum number of hard drives of our virtual machines can have is 5)

    I'm just using a switch statement, because that is what I "thought" answered the problem. However if there is a way I could get the same result without so much 'code' that would be ideal.

    Switch ($vm.harddisks.length) {}

    ($vm.harddisks.length - eq. 1) {

    ($obj |) Ajouter-Membre Noteproperty 'Disk 1' ($vm.harddisks [0] .capacitykb))

    }

    ($vm.harddisks.length - eq 2) {

    ($obj |) Ajouter-Membre Noteproperty 'Disk 1' ($vm.harddisks [0] .capacitykb))

    ($obj |) (Add - Member Noteproperty "Hard Disk 2" ($vm.harddisks [1] .capacitykb))

    }

    ($vm.harddisks.length - eq 3) {

    ($obj |) Ajouter-Membre Noteproperty 'Disk 1' ($vm.harddisks [0] .capacitykb))

    ($obj |) (Add - Member Noteproperty "Hard Disk 2" ($vm.harddisks [1] .capacitykb))

    ($obj |) Ajouter-Membre Noteproperty "Hard drive 3" ($vm.harddisks [2] .capacitykb))

    }

    ($vm.harddisks.length - eq 4) {

    ($obj |) Ajouter-Membre Noteproperty 'Disk 1' ($vm.harddisks [0] .capacitykb))

    ($obj |) (Add - Member Noteproperty "Hard Disk 2" ($vm.harddisks [1] .capacitykb))

    ($obj |) Ajouter-Membre Noteproperty "Hard drive 3" ($vm.harddisks [2] .capacitykb))

    ($obj |) (Add - Member Noteproperty 'Hard Disk 4' ($vm.harddisks [3] .capacitykb))

    }

    ($vm.harddisks.length - eq 5) {

    ($obj |) Ajouter-Membre Noteproperty 'Disk 1' ($vm.harddisks [0] .capacitykb))

    ($obj |) (Add - Member Noteproperty "Hard Disk 2" ($vm.harddisks [1] .capacitykb))

    ($obj |) Ajouter-Membre Noteproperty "Hard drive 3" ($vm.harddisks [2] .capacitykb))

    ($obj |) (Add - Member Noteproperty 'Hard Disk 4' ($vm.harddisks [3] .capacitykb))

    ($obj |) (Add - Member Noteproperty 'Hard Disk 5' ($vm.harddisks [4] .capacitykb))

    }

    write-host $obj

    }

    Once again thanks in advance

    Munster99

    Try something like this

    $i = 1
    $vm. Hard drives | %{
    $obj | Noteproperty Add-member ('Hard drive' + $i) ($vm.harddisks [$i - 1] .capacitykb)
    $i ++
    }
    write-host $obj

  • Module MDS 9513-48 ports with the 'Suspended' State Bootflash

    Hi team

    We have a module in our Director of Cisco MDS9513 as below with bootflash State "suspended".

    Module; DS - X 9248-96 k 9

    Switch MDS 9513 (13 Slot)

    Firmware: 5.0 (4B)

    Is it possible online to change the State to return to the 'race' bootflash without reseating the module?

    Appreciate your quick response in this regard

    Status of frequency test action

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

    Bootflash 10s suspension allowed

    5 active EOBC sec race

    Loopback active Running 5 sec

    AAGR 1 day active Running

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

    Hi Anand,

    It is an indication that bootflash failed on the line card and the line card needs to be replaced.

    If the line card is now in place and that you reinstall / reload it, I would expect the next State to be 'off' because the card online is unable to load the firmware.   You should leave it until you can have it replaced.

    Best regards

    Jim

  • DataGrid ItemRenderer with LinkButton.

    I have one of the columns in my DataGrid that needs to be a LinkButton. The actual data value is 0 or 1, but I want the LinkButton is visible only if the value is 1. The problem is that LinkButton is always visible. How can I selectively make visible or invisible on the various lines in the DataGrid? I tried to make the visible attribute associated with the value of the flag but without success.

    "< mx:DataGridColumn itemRenderer ="LinkButtonItemRenderer"dataField ="flag"/ >

    Here is the code LinkButtonItemRenderer.

    "< mx:LinkButton xmlns:mx ="http://www.adobe.com/2006/mxml"" visible = "{data.flag == 1}" label = "Click Me" / >

    Hi MoreGart,

    You can try this...

    http://www.Adobe.com/2006/mxml' render = "(Number (data.flag) == 1)? (Visible = true):(visible = false) "label ="Click Me"/ >

    Try this years made me know...

    Thank you

    Jean Claude

  • Best wireless network installation with the switch TP-Link

    Hi all

    Few question numpty maybe, but what follows... We just moved to a new (larger) home with thick walls and I want to set up a new wireless network.

    The current installation is:

    Fiber cable entering the House in the basement and connected the modem to the service provider that provides 150 mb internet. I changed the capacity wireless on the ISP's modem and connecting an airport extreme (2014 model) via the LAN to the modem. The extreme is in the office but on the 3rd floor is having connection problems than you can imagine. All rooms have access points CAT5e who all meet in the basement. I have two spare Aiport express and two Apple TV that I would use. Also I bought a TP-LINK 1000mbps (16 channels) Network Switch.

    Could someone please tell how the best set-up of my home network. For example, the Airport Express to the 3rd floor connected to the switch (wired) network or to an extreme in the Office? Apple TV also connected to the network switch?

    I would like to end up with a solid wireless network that passes without problem from extreme to Express necessary each time you walk and you want to use an Apple TV for television on the ground floor and one in our room.

    Many thanks and apologies once more for this very basic question... I have expanded my front (extreme Express) wireless network but just don't know how best to use the switch.

    Thank you

    The simplest up set... which is almost always the best game in place... would be to connect the switch 16 ports to the modem/router and then connect devices to the switch. In other words, if your modem/router has 16 + Ethernet ports, the simplest network configuration would be to plug as many devices as possible directly to the modem/router.

    Other variants are possible, for example, the network might look like this:

    Internet > Modem/Router > AirPort Extreme > switch > devices... or, you can connect certain devices to ports Ethernet on the AirPort Extreme and some to the ports on the switch.  One thing to keep in mind however... If there is a problem... Troubleshooting may not be easy since it will be difficult to know where the problem actually lies.  Much easier to all have, or of possible devices, connect to the switch.

    Unfortunately, the AirPort Express devices will be of real bottlenecks on your network.  These devices are notoriously slow as well as wireless, and even if they work well, the speed will be does not exceed 100 Mbps... since it's the speed of the port to the AirPort Express.  In fact, I expect each Express to provide a wireless signal in the range of 50-60 Mbps.

    Another thing to keep in mind of the wireless network is that Macs will usually a good work of tilting automatically to the point of wireless to the other as moving from one place to the other in the House... but the iPhones, iPads, PCs, and other mobile devices will do that very well... If they do at all.

    So with these devices, you will need to get used to temporarily disable the WiFi on the device and the device when you move in one region to the other, and then turn WiFi on must generally then pick up the signal from a nearby wireless access point.

  • Cannot transfer messages saved in the journal of the events with the 50 State

    I use Vista 64 on a HP laptop.   I don't have a Vista installation CD but have the cd hp the only way I can run CHKDSK with Windows running is to use the F8 key and select 'Repair your computer' then I get to the screen "System Recovery Options" and a "Command Prompt" option that I chose.  I can then enter "chkdsk" and it works, but after it runs I get an error "cannot transfer the recorded messages in the log of events with State 50 ' although he reported no problems with the disk.  It is this important error message and how do I get the chkdsk to write the information?

    I talked to HP and they tell me I have to reinstall the original software included with the computer to resolve this problem.

    Any help would be appreciated.
    Marshall

    Judd

    Thanks again for your information.  It seems that you agree with HP that the only way to solve this problem is to re - install the operating system.  This tells me that the re - install has a good chance to solve the problem.

    Best wishes
    Marshall

  • use robocopy with the switch /MIR safe?

    Hello

    I use Robocopy to copy my phone book c:\users\username on a second hard drive (D :). No problem. But I also want the mirror of this second hard drive on a third drive hard (e). I have been using the /MIR copy/mirror hard drive D: E: switch.
    We know that /MIR deletes several files from the disk of destination files (e: in this case) if they no longer exist on the source (d) drive.

    But I recently saw somewhere on the internet, there are certain risks that /MIR can also remove some of the source files in certain circumstances. Scary!
    Here is the exact quote (unfortunately I did not record the site it comes.)

    Use /MIR with caution - it has the ability to delete a file from the source and destination, under certain conditions.

    This happens usually if a file/folder in the destination has been removed, causing ROBOCOPY to mirror the source to the destination. As a result, the same files in the source folder are also deleted. To avoid this situation, never to delete all the files/folders on the destination - remove from the source and then run the backup to mirror the destination to the source.

    If in doubt, do not use the MIR, but be aware that backups will take more time.

    So I wonder if it's true and/or tailored to my needs.  The explanation above don't make much sense to me. For the moment, I have abandoned the /MIR switch and am just using the Robocopy command to copy the second HD in the third.

    Thanks much for the thoughts or advice or links.

    Jack

    The /MIR switch is NOT a two-way synchronization.  Right of the Microsoft documentation, it tells you/MIR/e + / purge.  It does not remove the source files.  The /MOV option removes the files from the source because you move them from the source to the destination.

    The /mir option is equivalent to /e plus/purge with a small difference options in behavior:

    • With the /e plus/purge option, if the destination directory already exists, the destination directory security settings are not replaced.
    • With the /mir option, if the destination directory already exists, the security settings for destination directory are replaced.
  • Can't get WAP121 to work with the switch SG100D - 08 p... why?

    If I connect my WAP121 directly to my router, it works fine.  But when I connect it to my SG100D switch - 08 p I can see, but when I log in, I get "limited connectivity" and he can't "identify."  The switch is PoE and everything seems to work well, but I have tried PoE and steady through the switch; nothing works.  Does not understand why if I connect it cat-cable goes into the switch it works fine, but when I coonect it through the switch, I have problems.  I thought that this switch was unmanaged, but something is happening.  Any ideas?

    Nathan, the default state should be fine. Try to upgrade/flash the firmware and reset the device and try again.

    -Tom
    Please mark replied messages useful

  • Cannot access the IP by default with the switch Cisco SF200 - 24 p

    Hello, I just bought Cisco switch SF200-24, but I can't access to switch with default address IP 192.168.1.254.

    I set up my laptop 192.168.1.4 and connect to the Port No. 1 but I can't ping too.

    anything you can help me please.

    Hello

    Quick Start Guide:

    To access the switch using the web interface, you must know the IP address of the switch uses. The switch uses the default IP of default 192.168.1.254.
    When the switch is using the default IP address, the system LED flashes continuously. When the switch uses an address IP assigned server DHCP or an administrator has configured a static IP address, the system LED is lit (DHCP is enabled by default).

    You see the system LED flashes constantly?

Maybe you are looking for