Dataguard GAP showing in Minus(-)

hi there,
we have just migrated from oracle 9.2.0.3.0 to 11.2.3.0 on IBM - AIX
DR also have been migrated from 9.2.0.3.0 to 11.2.3.0.
previously we used to check for the DR GAP count with the help of below query on 9i.
{code}
SELECT ARCH.THREAD# "Thread", ARCH.SEQUENCE# "Last Sequence Received", APPL.SEQUENCE# "Last Sequence Applied", (ARCH.SEQUENCE# - APPL.SEQUENCE#) "Difference"
FROM
(SELECT THREAD# ,SEQUENCE# FROM V$ARCHIVED_LOG WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)) ARCH,
(SELECT THREAD# ,SEQUENCE# FROM V$LOG_HISTORY WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$LOG_HISTORY GROUP BY THREAD#)) APPL
WHERE
ARCH.THREAD# = APPL.THREAD#
ORDER BY 1;
{code}
{code}
Thread Last Sequence Received Last Sequence Applied Difference
1            
403280           
404811 
-1531
{code}
so why its showing the difference in Minus.
MRP process is down when there was  a GAP of 7000 logs. and some 1000 logs have been copied manually. and below command have been fired on DR site
{code}
alter database recover standby database
{code}
so friends what is the issue here. need help.

V$LOG_HISTORY displays log history information from the control file.
V$LOG_HISTORY is obsolete and retained for backwards compatibility only.
V$ARCHIVED_LOG displays archived log information from the control file, including archive log names. An archive log record is inserted after the online redo log is successfully archived or cleared (name column is NULL if the log was cleared). If the log is archived twice, there will be two archived log records with the same THREAD#, SEQUENCE#, and FIRST_CHANGE#, but with a different name. An archive log record is also inserted when an archive log is restored from a backup set or a copy and whenever a copy of a log is made with the RMAN COPY command.
How to Clean-Up Entries in V$LOG_HISTORY, V$ARCHIVED_LOG (Doc ID 1060139.6)
Best Regards
mseberg

Similar Messages

  • Dataguard Gap

    What happend to the dataguard if it lost a archive_log sequence and it doesn´t event apear on disk?

    If there is a gap on the standby, then it will request the missing logs from the privary via the fal_server, fal_client parameters.
    If the logs are not on disk on the primary then you will need to restore from backup. (or maybe they are still in online logs and you need to switch logs ?)
    If you don't have a backup, then you can recover the standby via an incremental backup instead of the missing archivelogs.

  • Fill-the-gap with multiple gaps - show right answers colored

    Hello,
    I'm using CP5 on OSX 10.6.4
    I create a quiz "fill-the-gap" with multiple gaps (textfields/drop-down menu) in a single slide.
    When a user doesn't fill all gaps he get the info, that he have to fill all gaps. O.K.
    When he fills wrong answers he get the info, that it is not correct. But he can't see, which answers are right answers.
    Has CP5 (i.e with a variable) the feature to color right answers (i.e the font turns to green) others turns to red?
    Or right answers turns to non-editable textfields or drop-downs aren't available after setting the right answer.
    Ishan

    Hello,
    I never used CP5 on Mac, just on Windows. So I'm not totally sure my answers will apply.
    About your question to see the right answers: normally this will be done during Review, provided you did allow Review in the Quiz Settings (Allow the user to review the Quiz). You can see the message that will be showed when selecting the Review area on the stage and looking at the Properties. The messages can be edited. In the screenshot you see the default messages. For an incorrect answer both the given answer ('Your answer:...')  and the correct answer will be put in the Review area during review.
    For your second questions: as far as I know, this is not possible with the default dropdown list of the Question slide for 'Fill-in-the-Blank'. It could be made possible by constructing your own Question slide, using the available objects, user variables and advanced actions.
    Lilybiri

  • JTree not showing plus/minus signs

    Hi,
    I'm having a strange problem with JTree when implementing my own DefaultTreeCellRenderer: the renderer is shown correctly, but the plus and minus signs are gone!
    My getTreeCellRendererComponent implementation actually creates a new JPanel and returns it instead of the default one. Can that be the problem? How can I make these plus/minus signs come back?
    Thanks, U

    I have seen something a little different on my CustomCellRenderer where the plus minus sign is replaced with some default arrow icon and where it comes from I have no clue. I basically have a 3 level deep tree and its at the B level where this icon appears.
    http://www.matthewscorp.com/images/JTreeError.jpg
    For the life of me I can't figure this one out. I have tried all ideas like set all the renderer icons or the LAF properties icons and still this blue arrow appears. Any ideas would help on both mine and the original poster.

  • Show a minus sign as an output instead of the parentheses

    When I save a minus value, the output comes as (500.00). I
    think the parentheses are default for the minus value in cf. How
    can I display –500.00 instead of (500.00)? I looked at the
    numberformat function, but could not find the mask for it.

    I think that can be one of the solutions.
    However,
    the first time when I insert a minus value, it goes through
    w/o any problems, but when I update the minus value, i got an error
    message. so before I use ur select stmt, I need to have a
    conditional stmt to find a parenthesis to check if the value that I
    pass to the database is negative or positive. It would be nice if i
    can find any cf function to display a minus sign instead of a
    parentheses, "( )" for any minus values.
    what i did on this issue before saving into database,
    <cfif find("(", form.myprice)>
    <cfset form.myprice = ReReplace(form.myprice,
    ",|\$|\(|\)", "", "ALL")>
    <cfset form.myprice = "-" & form.myprice>
    <cfelse>
    <cfset form.myprice = ReReplace(form.myprice, ",|\$", "",
    "ALL")>
    </cfif>
    but I wonder if there are other solutions. thanks
    again.

  • I pad apps such as mail and safari show red minus signs and shake back and forth....why?

    In mail the messages come up, but do not open.  Striking the home button twice produces red minus signs above the mail, safari
    apps. etc and they start shaking.   Clicking he "settings" app twice produces the settings page briefly before returning to the home page.
    Pressing the settings app once does nothing.  Prior to opening up the I Pad with these conditions everything worked okay.   Turned it
    off overnight and upon opening the above conditions are there.  Any thoughts and suggestions will be appreciated.

    Tapping the minus sign will close the app and free up some working memory.

  • PLA REGISTER SHOWING MINUS BALANCE

    Dear experts,
    Can any one tell me, Pla register is showing minus balance, what could reasons for this, how it come minus,and how to correct to  postive balance .please help me on this in deatail, pla bed account is showing + balance but register is showing _ balance how to correct this minus balance.
    Thanks
    AN Reddy.

    Hello Mr. Reddy
                             as u have given that PLA register is showing the minus balance, it is actually that before doin any postings in CIN u need to put up some amount of money to govt. via TR06 challan. and in the latter period wat ever excise is coming out on u is gettin deducted from tat PLA register(which is already maintained with govt).
    so u need to maintain the TR06 challan in the system, so that wat ever excise u have to pay gets deducted frm the PLA accnt.
    Hope it helps u,
    Regards,
    yk

  • Detect Control-Plus and Control-Minus

    Hi,
    I want to detect keyboard events in a swing application, with the Control key and the '+' or '-' keys pressed (the ones from the keyboard, not from the numpad).
    This is to provide similar behaviour than Firefox for increasing and decreasing the font size.
    I have an English keyboard, in which + is with = key, to be pressed with shift, and - can be pressed directly, without shift.
    I've tried many ways to achieve this behaviour, but have not succeeded yet.
    Platform is Java SE 1.6.0_07 on Red Hat Enterprise Linux 4 with Gnome.
    import static java.awt.event.InputEvent.*;
    import static java.awt.event.KeyEvent.*;
    import static javax.swing.KeyStroke.getKeyStroke;
    // Within some method in some class...
    KeyStroke ctrlPlus, ctrlMinus;
    // Menu items seem correct, but none of the combinations work for me
    ctrlPlus  = getKeyStroke(Character.valueOf('+'), CTRL_DOWN_MASK); // menu item shows Ctrl-+
    ctrlMinus = getKeyStroke(Character.valueOf('-'), CTRL_DOWN_MASK); // menu item shows Ctrl--
    // Menu items seem a bit strange; Ctrl - works, but Ctrl + doesn't
    ctrlPlus  = getKeyStroke(VK_PLUS , CTRL_DOWN_MASK); // menu item shows Ctrl-Plus
    ctrlMinus = getKeyStroke(VK_MINUS, CTRL_DOWN_MASK); // menu item shows Ctrl-Minus
    // None of these combinations work
    ctrlPlus  = getKeyStroke("control +"); // menu item shows nothing
    ctrlMinus = getKeyStroke("control -"); // menu item shows nothingIt seems I can get the desired behaviour with '+' and '-' of the numpad, but:
    1. They are more weird than the normal '+' and '-' keys, which are the ones used by Firefox
    2. The menu items show Ctrl-Numpad + and Ctrl-Numpad - as shortcuts, which are weird also
    3. Not all keyboards have a numpad.
    A solution would be very much appreciated... as well as rewarded with the dukes.

    KeyStroke.getKeyStroke(KeyEvent.VK_EQUALS, KeyEvent.SHIFT_DOWN_MASK | KeyEvent.CTRL_DOWN_MASK)This works indeed with CTRL_DOWN_MASK alone (not tested with the other mask), thanks.
    However, this solution has two drawbacks:
    1. The accelerator string is shown as Ctrl-=, while I want Ctrl-+ to be shown
    2. '+' key may not coincide with '=' in non-English keyboards (e.g. it doesn't coincide in Spanish keyboards)
    I've found a solution that required a bit more work:
    1. Create the actions with the keyStroke you want to be shown (in my case, Ctrl-- and Ctrl-+):
    ctrlPlus  = getKeyStroke("ctrl typed +");  // Ctrl-+ is shown
    ctrlMinus = getKeyStroke("ctrl typed -");  // Ctrl-- is shown
    Action actionPlus = new AbstractAction() { ... };
    actionPlus.setAccelerator(ctrlPlus);
    Action actionMinus = new AbstractAction() { ... };
    actionMinus.setAccelerator(ctrlMinus);2. Bind the keys you actually want to the corresponding action:
    JComponent window = ...;  // root window
    InputMap inputMap = window.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
    ActionMap actionMap = window.getActionMap();
    Object actionMapKeyPlus  = "ctrl+";
    Object actionMapKeyMinus = "ctrl-";
    inputMap.put(getKeyStroke(VK_EQUALS  , CTRL_DOWN_MASK), actionMapKeyPlus);  // + key in English keyboards
    inputMap.put(getKeyStroke(VK_PLUS    , CTRL_DOWN_MASK), actionMapKeyPlus);  // + key in non-English keyboards
    inputMap.put(getKeyStroke(VK_ADD     , CTRL_DOWN_MASK), actionMapKeyPlus);  // + key on the numpad
    inputMap.put(getKeyStroke(VK_MINUS   , CTRL_DOWN_MASK), actionMapKeyMinus); // - key
    inputMap.put(getKeyStroke(VK_SUBTRACT, CTRL_DOWN_MASK), actionMapKeyMinus); // - key on the numpad
    actionMap.put(actionMapKeyPlus, actionPlus);
    actionMap.put(actionMapKeyMinus, actionMinus);More complicated than expected, but at least works.
    Thanks for the help.
    God bless,
    Jaime

  • How can I fix gaps in a continuous underline?

    I've got a landscape document with a text box that's been rotated 90 degrees (so the text goes "up"). The text has underlines that extend up to a custom made image so each piece of text is sort of joined with a specific image. I'm using text-underline to create the line. I customized the weight to 2pt. I'm noticing gaps in the underline at seemingly random points. I've tried using tabs and spaces together, instead of just pure spaces, but the gaps show up in the same places. I don't see any gaps on my screen, but they show up when I print. Any idea what's going on?
    Here's a screenshot on my computer. The lines are continual "text underline" made with spaces (not tabs, but I've tried that and it does the same thing).
    Here's how the image prints. I've added some arrows to show the gaps. Not every line has a problem, but most do. I can't figure out if there's any consistency between the lines that have problems and the ones that don't    

    YES!!! I didn't realize it but the images themselves have some artifacts in them. I thought they are just a monochrome foreground object with all transparent background, but as it turns out there have some white lines near the bottom. The effect I'm seeing is the overlay because the images, just randomly, happy to be "arranged" on top of the text. I can't see this artifact on the screen because InDesign does a very aggressive downsampling of the image on screen (I hear that's to save computer resources since InDesign images can, obviously, get extremely image intensive). Now that I know the problem the solution is trivial!! I simply context clicked (aka right click) on the text box and selected "Arrange => Bring To Front". All good now. =]

  • DataGuard Continuing to Fail - ORA-16766, ORA-01237 - OPSCODE 17.4

    DataGuard Broker failing every few hours ... have to stop and restart. ORA-16766, ORA-01237. I cannot find any information on the failure apply recovery marker (opscode 17.4).
    The thought would be from the errors that the volume is out of space, we are running NETAPP and the volumes do auto expand but when I looked the volume it was only at 44% full at 1600 yesterday when I restarted and today I it is at 28%.
    These are BIGFILE tablespace. I have restarted multiple times and keep getting the same errors daily and I just end up restarting and everything works again w/o intervention.
    I don't want to daily have to check dataguard. If I don't run dg and just run "recover standby database until cancel auto" ... it just keeps going w/o issue, any ideas on the problem?
    Please advise:
    OS: Solaris 5.10
    RDBMS:Oracle 11.2.0.2 64 bit
    OMF
    BIGFILE Tablespaces
    VLDB - Standby DG Database
    Created via RMAN Duplicate Database
    Dataguard Alert shows the original startup information, does some health check ... becomes quite for a few hours and then I start seeing the Redo Apply is stopped.
    2011-09-28 18:45:20.824 00000000 24342 Operation HEALTH_CHECK canceled during phase 1, error = ORA-16766
    2011-09-28 18:46:20.929 DMON: HEALTH CHECK ERROR: ORA-16766: Redo Apply is stopped
    Alert Log showing 1237 on the extend but volume is not out of space ... bigfile tablespace. I cannot find any information on the failure apply recovery marker (opscode 17.4):
    Errors in file /u02/d002/oracle/bdump/diag/rdbms/DBUNIQNAME/DBNAME/trace/DBNAME_pr00_6331.trc:
    ORA-01237: cannot extend datafile 670
    ORA-01110: data file 670: '/u07/d101/oracle/DBUNIQNAME/datafile/o1_mf_ftk_31_c_784ql3gh_.dbf'
    Managed Standby Recovery not using Real Time Apply
    Wed Sep 28 18:43:57 2011
    Recovery interrupted!
    Wed Sep 28 18:44:29 2011
    Archived Log entry 2805 added for thread 1 sequence 135638 ID 0x249d4159 dest 1:
    Wed Sep 28 18:44:41 2011
    Recovery stopped due to failure in applying recovery marker (opcode 17.4).
    Datafiles are recovered to a consistent state at change 22941677700 but controlfile could be ahead of datafiles.
    Wed Sep 28 18:44:42 2011
    MRP0: Background Media Recovery process shutdown (DBNAME)
    Wed Sep 28 18:46:04 2011
    Trace FIle showing the same problem as the alert ...
    Started Parallel Media Recovery
    *** 2011-09-28 16:14:52.074 4265 krsh.c
    Managed Standby Recovery starting Real Time Apply
    *** 2011-09-28 18:43:08.759 4265 krsh.c
    MRP0: Background Media Recovery terminated with error 1237
    ORA-01237: cannot extend datafile 670
    ORA-01110: data file 670: '/u07/d101/oracle/DBUNIQUNAME/datafile/o1_mf_ftk_31_c_784ql3gh_.dbf'
    *** 2011-09-28 18:43:08.779 4265 krsh.c
    Managed Standby Recovery not using Real Time Apply----- Redo read statistics for thread 1 -----
    Read rate (ASYNC): 54581570Kb in 8888.95s => 6.00 Mb/sec
    Total redo bytes: 54636866Kb Longest record: 81Kb, moves: 49633/139704932 moved: 130Mb (0%)
    Longest LWN: 118127Kb, reads: 45176
    Last redo scn: 0x0005.576e3884 (22941677700)
    Change vector header moves = 18603031/273716057 (6%)
    *** 2011-09-28 18:43:08.816
    Media Recovery drop redo thread 1
    *** 2011-09-28 18:43:56.660
    Completed Media Recovery
    *** 2011-09-28 18:44:00.869
    Checking to start in-flux buffer recovery from SCN 5.1465762230 to SCN (non-inclusive) 5.1466841220
    Influx recovery found in-flux buffers
    *** 2011-09-28 18:44:00.874
    Influx Media Recovery add redo thread 1
    *** 2011-09-28 18:44:36.493
    Resized overflow buffer to 52335K (for 52335K LWN)
    *** 2011-09-28 18:44:38.887
    Resized overflow buffer to 63165K (for 63165K LWN)
    *** 2011-09-28 18:44:41.686
    Managed Recovery: Not Active posted.

    It appears to be a problem that occurs every time an OMF file wants to extend that it kills the dataguard process irrelvant of what volume the file is on.

  • Slice lines showing in ie browser

    Hello,
    This site renders fine in firefox, safari on mac -  http://www.co2tropicaltrees.com/ - but in internet explorer on pc, there has been issues. I had it rendering okay in ie, then yesterday I added 'link machine' (an outside program) . I don't know if this 'link machine' has caused a problem, but today I'm told (I don't have pc, only mac)that there are white lines (from the slices) all over the home page when viewing in ie on pc?
    Any comments, suggestions, etc. would be greatly appreciated.
    Francine

    First thing I would do is remove linkmachine.  If you ask around I think you'll hear the consensus opinion that such link farms are not helpful or actually harmful to your SE ranking.  They are a pretty transparent attempt to game the system that the major search engines can easil ferret out and hold against you.
    Next, i doubt adding linkmachine caused the problem.
    Next, there is a javsacript error on yoru page - the first line of the function blurLinks() contains some extraneouse text (<meta http....>) you need to remove
    function blurLinks() {<meta http-equiv="author" content="Dexter B. Dombro, B.A., LL.B.">
        if (!document.getElementById) return;
        theLinks = document.getElementsByTagName("A");
    Now whether that will fix the white gaps I am quite sure it will not, but it does need to be fixed anyway.
    <rant>
    Finally, no way my feeble old brain can parse this complex array of AP elements you've created of that sliced image.  I do recall you were advised against this technique, but you thought it was your best option at this stage of your learning curve.  I think you will find that you would be better to start off doing things right.  By that I mean that one of the reasons we try to avoid AP elements like this is that they are comlex and unyielding and are bound to break under various circumstances.  More modern coding techniques are at their very core clean and simple,  and so amenable to human parsing and understanding.
    I hope someone can help you with the white gaps showing up in IE7, as it is likely a simple problem since you said it just suddenly appeared, but even if so, I would still suggest you do the entire page over from scratch at your first opportunity.  It is hard to do, and it will take a lot of learning and head-scratching, but it will pay off in the long run.
    </rant>
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • DeInstall DataGuard db_role and dg_broker_config_file n parameters

    Oracle 11.1.0.7 RAC with DataGurad
    We used DG to migrate our dev and acc environments to another location and are now ready to "un-DataGuard". I have a checklist to follow with these two outstanding questions:
    1) srvctl config database -d <primary> -a shows DB_ROLE: PRIMARY. Non-DataGuarded databases show this as null. I've tried srvctl modify database -d <primary> -r "" but receive the error: PRKO-2003 : Invalid command line option value: How can I change the role to NULL.
    2) We use ASM and have the parameters dg_broker_config_file1 and dg_broker_config_file2 set to +ASM_DATA/play/dataguard/dr1play.dat (also the dr2play.dat file for file2).  .  We manually created the DATAGUARD folder, turning on the broker creates a DATAGUARDCONFIG folder.  What should we do about these files? 
    Sherrie

    I think you have a bug, your version is 11.1.0.7
    I tested your steps, following results
    [oracle@oel62-rac2 Desktop]$ srvctl config database -d racdb
    Database unique name: racdb
    Database name:
    Oracle home: /u01/app/oracle/product/11.2.0/dbhome
    Oracle user: oracle
    Spfile:
    Domain:
    Start options: open
    Stop options: immediate
    Database role: PRIMARY
    Management policy: AUTOMATIC
    Server pools: racdb
    Database instances: racdb1,racdb2
    Disk Groups: DATA,FRA
    Mount point paths:
    Services:
    Type: RAC
    Database is administrator managed
    [oracle@oel62-rac2 Desktop]$ srvctl  stop database -d racdb
    [oracle@oel62-rac2 Desktop]$ srvctl remove database -d racdb
    Remove the database racdb? (y/[n]) y
    [oracle@oel62-rac2 Desktop]$ srvctl add database -d racdb -o $ORACLE_HOME
    [oracle@oel62-rac2 Desktop]$ srvctl add instance -d racdb -i racdb1 -n oel62-rac1
    [oracle@oel62-rac2 Desktop]$ srvctl add instance -d racdb -i racdb2 -n oel62-rac2
    [oracle@oel62-rac2 Desktop]$ srvctl config database -d racdb
    Database unique name: racdb
    Database name:
    Oracle home: /u01/app/oracle/product/11.2.0/dbhome
    Oracle user: oracle
    Spfile:
    Domain:
    Start options: open
    Stop options: immediate
    Database role: PRIMARY
    Management policy: AUTOMATIC
    Server pools: racdb
    Database instances: racdb1,racdb2
    Disk Groups:
    Mount point paths:
    Services:
    Type: RAC
    Database is administrator managed
    [oracle@oel62-rac2 Desktop]$ srvctl  start database -d racdb
    [oracle@oel62-rac2 Desktop]$ srvctl  status database -d racdb
    Instance racdb1 is running on node oel62-rac1
    Instance racdb2 is running on node oel62-rac2
    [oracle@oel62-rac2 Desktop]$ srvctl config database -d racdb
    Database unique name: racdb
    Database name:
    Oracle home: /u01/app/oracle/product/11.2.0/dbhome
    Oracle user: oracle
    Spfile:
    Domain:
    Start options: open
    Stop options: immediate
    Database role: PRIMARY
    Management policy: AUTOMATIC
    Server pools: racdb
    Database instances: racdb1,racdb2
    Disk Groups: DATA,FRA
    Mount point paths:
    Services:
    Type: RAC
    Database is administrator managed
    [oracle@oel62-rac2 Desktop]$

  • Display of minus sign

    Well I want to display minus sign in front of credit amount.
    though i have multiplied the amount by -1. it shows the minus sign after the amount. i want to display it before the amount. is there any function for it.
    i'm making a classical report using se38.

    Hi ,
    execute the code and check the output.
    data : val1 like vbap-netpr.
    val1 = '12345.21'.
    val1 = val1 * -1.         "ur value
    write:/ val1.               " negative at the end
    data : val(13) type c.   " declare a char variable
    move val1 to val.        
    write:/'Still', val.
    CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
      CHANGING
        value         = val.          "sign is put ot front.
    write:/'Now', val.
    regards,
    vijay

  • It needs to be shown as difference of timespan with sometimes minus

    How to show a minus value of TimeSpan with string format as result. I can get a correct form of string with nDay(s) in my code but I could achieve to get a minus result with that string format.
    Note: depands the product textbox's values populate by products' exact time addition as 24h, 16h or 1h from Base time, I given this detail is case of confusion.
    Here is a screen shot that show my case to imagine that.
    foreach (DataRow row in t.Rows)
    DateTime dtPresent = DateTime.Now;
    // to get Tarih's value from query's result
    dtpassedFromBaseForm = Convert.ToDateTime(row["TARIH"].ToString());
    // then use similarncode above to get serial number
    // besides returnKiloVolt is a useful method below to return hours
    TimeSpan timespan = new TimeSpan(returnKiloVolt(row["Serial Nm"].ToString()), 0, 0);
    // sum two datatime values to make a whole one value to subtract an exact time
    dtKiloVoltParemeter = Convert.ToDateTime(dtpassedFromBaseForm + timespan);
    textBox2.AppendText(Convert.ToString(dtKiloVoltParemeter) + Environment.NewLine);
    // below is the result after some actions
    dtDifference = (dtKiloVoltParemeter - dtPresent);
    textBox1.AppendText(Convert.ToString(dtDifference) + Environment.NewLine);
    if (dtDifference.Days > 0)
    //row["NewColumn"] = (dtDifference < TimeSpan.Zero ? "\\-" : "") + "{0:%d}day(s) {0:hh\\:mm\\:ss}";
    row["NewColumn"] = Convert.ToString(string.Format(@"{0:%d}day(s) {0:hh\:mm\:ss}", dtDifference));
    else
    //row["NewColumn"] = (dtDifference < TimeSpan.Zero ? "\\-" : "") + "0:hh\\:mm\\:ss";
    row["NewColumn"] = Convert.ToString(string.Format(@"{0:hh\:mm\:ss}", dtDifference));
    By the way, dtDifference of course under a positive value in this case and the part of
    {0:%d}day(s)
    in else lack in my code but even I tried in my project to get on my side but fail. I hope this details would not confuse anybody. I need to get above part with minus details if it so.

    Hi Dynamo70,
    >> How to show a minus value of TimeSpan with string format as result. I can get a correct form of string with nDay(s) in my code but I could achieve to get a minus result with that string format.
    I could not understand you clearly, do you mean you want to custom TimeSpan Format string? If so, I think the link below might be useful to you:
    # Custom TimeSpan Format Strings
    https://msdn.microsoft.com/en-us/library/ee372287(v=vs.110).aspx
    >> in else lack in my code but even I tried in my project to get on my side but fail. I hope this details would not confuse anybody. I need to get above part with minus details if it so.
    For this purpose, it would be helpful if you could share us the string dtDifference you got, the value of the “row["NewColumn"]” you have got, and the really value of the “row["NewColumn"]” you want.
    Similar thread:
    # How can I String.Format a TimeSpan object with a custom format in .NET?
    http://stackoverflow.com/questions/574881/how-can-i-string-format-a-timespan-object-with-a-custom-format-in-net
    If I misunderstood you, please feel free to let me know.
    Best Regards,
    Edward
    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.

  • Gaps in the underline when word processing

    Okay, I don't know why but when I'm writing a word processed document using Appleworks 6, I write the title, put in in bold and underline it, and for some reason I get numerous little gaps in the underline. Worse still, some of these gaps show up when I print the document. The printer is almost brand new, so it's not low on ink or anything.
    Has anyone heard of this problem or know how to fix it? I'm thinking I may have made some unintentional changes that have caused this.
    You are my last best hope.

    You may attach a sample file to a mail and send it to:
    koenigPERIODyvanATtele2PERIODfr
    to use this “crypted” mail address:
    change PERIOD to .
    change AT to @
    change PERIOD to .
    and please, don’t put the true address in a forum’s message.
    To-morrow (Im in FRANCE) I will look at it.
    I will at least be able to check if I get the same behaviour on my machine.
    In the mail, give the name of the used fonts because some of them may be unavailable on my machine.
    I am using AW for many years and NEVER saw that!
    Yvan KOENIG (from FRANCE 24 septembre 2005 21:19:10)

Maybe you are looking for

  • To customize IE status bar?

    Hi, How can i add my text to IE status bar?

  • Reg : Message no ME160 Notified qty EXeds quantity still to be notified & &

    DEAR GURUS, MY PO QTY IS 1000.I AM DOING INBOUND DELIVERY FOR EXCESS QTY SAY 1500.THERE ARE TWO MESSAGES WHICH ARE TO BE ERRORED ME160,ME161.FOR ME161 CONFIGURATION STEP IS GOTO MM->PURCHASING->ENVIROMENTDATA->MESSAGES. BUT I AM UNABLE TO FIND THE CO

  • Broadcast request 16:9 to 4:3

    I will be ask to convert 16:9 content to 4:3 for broadcast standard using FCP, is this possible and normal in a broadcast situation . Can anyone show me the steps .I have only work on SD 4:3 so far . Is there a filter or software in FCP i can use , a

  • Intermitte​nt disconnect​s/severe lag

    I've been experiencing severe delays in response time recently (mostly over the last week or so) every few minutes which seem to last several seconds.  This is mostly noticeable while playing online games (especially World of Warcraft) but also occas

  • Customer Mobile Number

    Dear All, I am trying to upload customer Master data through LSMW, but while recording in SHDB transaction code, system is not showing Mobile number field. I tried to upload with TELEPHONE 2 field but here the problem is system is not showing this fi