Bug in find/replace - no work around ideas

With the help of CC2015 on Yosemite.

There seems to be a bug in find/replace.

I have a text style in various paragraph styles. The problem is that I also get a lot of tab characters unwanted that I need to delete that are always before a newline (CR). Get rid of them seems simple enough that all I have to do is to find a tab followed by a CR and replace them with a CR. The problem is that when I do it, InDesign changes the paragraph style of the paragraph following the same style as the previous paragraph. Nothing in the find/replace includes anything in the next paragraph, so why should it end up being on? I think it is a bug

I tried to do this in GREP and also the method of TEXT, and the result is the same. As such, I can't replace the unwanted tabs. The ideas people?

It is not a bug. Do not delete the return, only the tab.

Find \t$ should work, or \t(?=\r), but the latter won't find a rear tab in the last paragraph in a story that does not end in a hard return.

You could do \t+$ or \t+(?=\r) to remove several tabs.

Tags: InDesign

Similar Questions

  • Index of Linguistics cannot SCAN ONE / RANGE 10.2, no work around?

    Hello

    Christian Antognini, in his book Troubleshooting Oracle Performance, when talking about clues language said:

    "Until the database Oracle 10 g Release 2, another limitation is that in order to apply a LIKE
    operator, the database engine is not able to take advantage of the linguistic clues. In other words, a
    the full index scan or full table scan can be avoided. This limitation is no longer available as of
    Oracle Database 11 g."

    But it cannot use scan limited unique index also, it seems. This is my test scenario:

    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64 bit Production
    With partitioning, OLAP and Data Mining options
    SQL> create table test as select to_char(rownum) x,to_char(mod(rownum,1000)) y, cast(' ' as char(100)) z from dual connect by level <= 100000;
    
    Tabla creada.
    
    SQL> exec dbms_stats.gather_table_stats(ownname=>user, tabname=>'TEST', method_opt=>'for all columns size 1', cascade=>true);
    
    Procedimiento PL/SQL terminado correctamente.
    
    SQL> CREATE unique INDEX test_idx ON test(NLSSORT(x,'nls_sort=spanish'));
    
    Índice creado.
    
    SQL> CREATE INDEX test_idx2 ON test(NLSSORT(y,'nls_sort=spanish'));
    
    Índice creado.
    
    SQL> SELECT x FROM test WHERE x = '123';
    X
    ----------------------------------------
    123
    
    SQL> @plan
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------
    SQL_ID  5fbncq099nf9g, child number 0
    -------------------------------------
    SELECT x FROM test WHERE x = '123'
    
    Plan hash value: 217508114
    
    -------------------------------------------------------------------------------------------------
    | Id  | Operation         | Name | Starts | E-Rows | Cost (%CPU)| A-Rows |   A-Time   | Buffers |
    -------------------------------------------------------------------------------------------------
    |*  1 |  TABLE ACCESS FULL| TEST |      1 |      1 |   374   (4)|      1 |00:00:00.04 |    1619 |
    -------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter("X"='123')
    
    
    17 filas seleccionadas.
    
    SQL> SELECT y FROM test WHERE y = '123' order by y;
    Y
    ----------------------------------------
    123
    .......
    .......
    123
    
    100 filas seleccionadas.
    
    SQL> @plan
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------
    SQL_ID  85mu6hvnrvd49, child number 0
    -------------------------------------
    SELECT y FROM test WHERE y = '123' order by y
    
    Plan hash value: 217508114
    
    -------------------------------------------------------------------------------------------------
    | Id  | Operation         | Name | Starts | E-Rows | Cost (%CPU)| A-Rows |   A-Time   | Buffers |
    -------------------------------------------------------------------------------------------------
    |*  1 |  TABLE ACCESS FULL| TEST |      1 |    100 |   375   (4)|    100 |00:00:00.04 |    1625 |
    -------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter("Y"='123')
    
    
    17 filas seleccionadas.
    
    SQL> SELECT /*+index(test TEST_IDX) */ x FROM test WHERE x = '123';
    X
    ----------------------------------------
    123
    
    SQL> @plan
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------
    SQL_ID  1w53svu82whqn, child number 0
    -------------------------------------
    SELECT /*+index(test TEST_IDX) */ x FROM test WHERE x = '123'
    
    Plan hash value: 4153930100
    
    ---------------------------------------------------------------------------------------------------------------
    | Id  | Operation                   | Name     | Starts | E-Rows | Cost (%CPU)| A-Rows |   A-Time   | Buffers |
    ---------------------------------------------------------------------------------------------------------------
    |*  1 |  TABLE ACCESS BY INDEX ROWID| TEST     |      1 |      1 | 20755   (1)|      1 |00:00:00.30 |   20683 |
    |   2 |   INDEX FULL SCAN           | TEST_IDX |      1 |    100K|   328   (3)|    100K|00:00:00.01 |     320 |
    ---------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter("X"='123')
    
    
    18 filas seleccionadas.
    
    SQL> SELECT /*+index(test TEST_IDX2) */ y FROM test WHERE y = '123';
    Y
    ----------------------------------------
    123
    .......
    .......
    123
    
    100 filas seleccionadas.
    
    SQL> @plan
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------
    SQL_ID  37yz5ufq7a3b4, child number 0
    -------------------------------------
    SELECT /*+index(test TEST_IDX2) */ y FROM test WHERE y = '123'
    
    Plan hash value: 34309412
    
    ----------------------------------------------------------------------------------------------------------------
    | Id  | Operation                   | Name      | Starts | E-Rows | Cost (%CPU)| A-Rows |   A-Time   | Buffers |
    ----------------------------------------------------------------------------------------------------------------
    |*  1 |  TABLE ACCESS BY INDEX ROWID| TEST      |      1 |    100 |   100K  (1)|    100 |00:00:00.71 |     100K|
    |   2 |   INDEX FULL SCAN           | TEST_IDX2 |      1 |    100K|   286   (4)|    100K|00:00:00.10 |     284 |
    ----------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       1 - filter("Y"='123')
    
    
    18 filas seleccionadas.
    In the test, you can see that oracle does not use the indexes without suspicion. The reason is that the cost of the plan with FULL SCAN INDEX is higher.

    Like Christian said he does not use RANGE SCAN, but it does not use UNIQUE INDEX SCAN also. Does anyone know the bug/Pals in Metalink on this problem? I can't find. No work around?

    Thank you very much

    Joaquin Gonzalez

    Hi Joaquin

    No, the reason is that you have not set the settings nls necessary to perform a linguistic operation rather than the binary search operation by default.

    Run:

    ALTER session set nls_comp = linguistic;

    ALTER session set nls_sort = Spanish;

    and try again...

    See you soon

    Richard Foote
    http://richardfoote.WordPress.com/

  • Script to work around bugs in Illustrator

    Newbee here, we work in Illustrator CS5.  I've gathered a few scripts and Actions for automating many parts of our work.

    I'll start with what we have now.  What we have now works on Mac and PC, and if there is a way around these BUGS, it should work on Mac & PC.

    (1) we have a .ai (our default format) file that we can open and inside the text fills in automatically when you start a script. (see Custom below script) Some text boxes fills in the date based on the current date on our computer, some areas of text fills a name based on the name of the electronic .ai file.

    Screen shot 2012-10-10 at 4.33.22 PM.jpg

    See the red boxes.

    Screen shot 2012-10-10 at 4.33.40 PM.jpg

    One of the difficulties that I have worked on is, sometimes in one of the fields in the file, it must have a name composed of only 4 sections (or 3 dashes). In the example: ILSLIM = 1, = 2, TEST 3 = EXAMPLE & AA01 = 4.

    Screen shot 2012-10-10 at 4.34.21 PM.jpg

    Thus, when it then produces the last indent in this area of text on our format (not all of the other text boxes) will need the 3rd indent removed (now it's only 3 sections because TESTAA01 has become a).

    Screen shot 2012-10-10 at 4.43.05 PM.jpg

    So I created an 'Action' Illustrator who will be after the 'ChangeFileNameDate' script is executed, 'The Action' will select the text area and then run 'Search and replace' to remove the 3rd indent as seen above.

    NOW THE PROBLEMS!  (Illustrator bugs)

    (1) in Illustrator 'Actions' when you save an 'Action' & the 'Insert Menu Item... ". "lets put a Script, it will work.  BUT when you exit out of Illustrator & then start the custom Script again will disappear. I looked in this & it's a known bug for years in Illustrator which is still not fixed.

    http://js4ai.blogspot.com/2012/03/how-to-permanently-tie-script-to-action.html

    Screen shot 2012-10-10 at 5.00.50 PM.jpg

    Screen shot 2012-10-10 at 5.01.19 PM.jpg

    Screen shot 2012-10-10 at 5.01.33 PM.jpg

    Work up to what you quit and restart.

    BEFORE LEAVING.

    Screen shot 2012-10-10 at 5.01.41 PM.jpg

    AFTER RELAUNCH.

    Screen shot 2012-10-10 at 5.05.03 PM.jpg

    SO the only work-around, I can get to work for now is to «Insert Menu Item»... ««Other script...» "& it will remain same after restarts, BUT whenever we run 'Action' we must manually select the script. (SHIT)

    Screen shot 2012-10-10 at 5.13.54 PM.jpg

    Screen shot 2012-10-10 at 5.14.08 PM.jpg

    Yet here, after relaunch.

    Screen shot 2012-10-10 at 5.14.25 PM.jpg

    MORE A BUG with the 'Find and replace' registration.  In case you don't know, when you save 'Actions' in Illustrator, you can; save one of the actions that require a dialog box; ((1) to-for either have the dialog go up then you can get everything you need in it or 2) you might NOT get dialog box up to & action will do whatever she had in her when she you recorded.  This feature is turned on or off by clicking on the box next to the check box on or off (see photo).

    Screen shot 2012-10-11 at 9.17.08 AM.jpg

    The BUG is so, for my 'Actions' that use the "Find and replace" to remove the dashboard to work for some reason that I have to have the first "find and replace" stages of dialogue botton ON so that the "Find and replace" dialog box opens.

    Let me explain, when you register to use the "Find and replace" it works perfectly even with the dialog box option clicked but if you quit Illustrator and then restart it and try to launch "Actions" which have the "Find and replace" in them then Illustrator crash.  So the only work around that I found for this BUG DIPSHIT is simply having 1 'find and replace' in the 'Action' registered with the dialog box set to (to open when the Action is performed) and then must manually close it.  We owe nothing within this type.  He must simply open & close and then have it.  Then for some reason any the rest of 'Actions' recorded will run out with boxes of open dialogue with the removal of the 3rd dashboard as when I registered 1.

    So basically, if I want to 'Actions' to work at this point I must do this.  whenever I raise the Illustrator I would need to manually load the script custom 'Actions' and I would need to open and close the box "find and replace".  It's the whole issue of the 'Actions' CRAP & Scripts are so I can do everything MANUALLY, no..  We should be able to make it work for us!

    OR maybe that would be the best solution!


    If in the "ChangeFileNameDate" custom script, it could just open and then close the box "Find and replace" (which would solve the bat with "Find and replace" in 'actions') then the custom script could cause 'The Action' to play instead of 'The Action' causing the custom script to play.  All we would have to do is slip down to the custom script of 'File' & who.  No don't crash, no babysitting.

    DOES ANYONE KNOW HOW OR IF THIS IS POSSIBLE?  To add to the attached script:

    (1) initially to open and close the box "find and replace".

    (2) at the end to cause 'action' saved to run.

    WE WOULD BE SO VERY, VERY, VERY GRATEFUL!

    //////////////////////////////////////////////////////////// english //
    // ----------------------
    // -=> WR-DateAndTime <=-
    // ----------------------
    //
    // A Javascript for Adobe Illustrator
    // by Wolfgang Reszel ([email protected])
    //
    // Version 0.9 from 22.9.2011
    //
    // This script inserts the actual date or the actual time to a
    // predefined position in the document.
    //
    // To define the position, you'll have to create an textobject and
    // execute this script while the object is selected. The whole object
    // has to be selected and not words or letters. You can mark more
    // objects, if you select each object separate and execute
    // the script on it.
    //
    // With the placeholders {DATE} and {TIME} you are able to define a
    // particular point, where the date or the time should be replaced.
    // If there is no placeholder in the textobject
    // "{FILENAME}{FILEEXT} ({DATE}, {TIME})" will be used as standard placeholders.
    //
    // To update the date and time execute this script without any object
    // selected.
    //
    // There are some additional placeholders:
    //   {FILE}     - complete document-filename with path
    //   {FILEPATH} - only the documents filepath
    //   {FILENAME} - the filename of the document
    //   {FILEEXT}  - the file extension of the document inclusive dot
    //
    // On my system this script can't see the path of the document, when
    // it was opened directly from windows Explorer (double click).
    //
    // In Illustrator CS it is now possible to edit a DateAndTime-Object.
    //
    // To enable the english messages and date-format change the "de"
    // into "en" in line 90.
    //
    // Sorry for my bad english. For any corrections send an email to:
    // [email protected]
    //
    //////////////////////////////////////////////////////////// Deutsch //
    // ----------------------
    // -=> WR-DateAndTime <=-
    // ----------------------
    //
    // Ein Javascript fuer Adobe Illustrator
    // von Wolfgang Reszel ([email protected])
    //
    // Version 0.9 vom 30.9.2011
    //
    // Dieses Skript fuegt das aktuelle Datum und die aktuelle Uhrzeit an
    // eine vorher bestimmte Stelle im Dokument ein.
    //
    // Um eine Stelle zu bestimmen, muss man ein Textobjekt erzeugen, es
    // markieren und dann dieses Skript aufrufen. Es muss das gesamte Objekt
    // ausgewaehlt sein, nicht etwa Buchstaben oder Woerter. Es lassen sich
    // nacheinander auch mehrere Objekte als Datum/Uhrzeit markieren.
    //
    // Mit den Platzhaltern {DATE} und {TIME} (in geschweiften Klammern)
    // kann man bestimmen, wo genau im Text das Datum und die Uhrzeit
    // erscheinen soll. Sind die Platzhalter nicht vorhanden, wird
    // automatisch "{FILENAME}{FILEEXT} ({DATE} - {TIME})" verwendet.
    //
    // Zum Aktualisieren des Datums/Uhrzeit muss man dieses Skript aufrufen
    // wenn kein Objekt ausgewaehlt ist.
    //
    // Es gibt noch einige zusaetzliche Platzhalter:
    //   {FILE}     - kompletter Dateiname mit Pfad
    //   {FILEPATH} - nur der Verzeichnispfad des Dokuments
    //   {FILENAME} - der Dateiname des Dokuments
    //   {FILEEXT}  - die Dateiendung des Dokuments inklusive Punkt
    //
    // Auf meinem System kann der Pfad nicht ermittelt werden, wenn das
    // Dokument vom Windows Explorer geoeffnet wird (Doppel-Klick).
    //
    // InÿIllustrator CSÿkann man nun ein Datum/Uhrzeit-Objekt bearbeiten.
    //
    // Um dieses Skript mit deutschen Meldungen und Datumsformat zu
    // versehen, muss in Zeile 90 das "en" durch ein "de" ersetzt werden.
    //
    // Verbesserungsvorschlaege an: [email protected]
    //
    
    //$.bp();
    
    // -------------------------------------------------------------------
    
    var language="en";   // "de" fuer Deutsch
    
    // -------------------------------------------------------------------
    
    var WR="WR-DateAndTime v0.9\n\n";
    
    var AIversion=version.slice(0,2);
    
    if (language == "de") {
    
      var format_preset = "{FILENAME}{FILEEXT} ({DATE} - {TIME})";
    
      var MSG_unsetmark = WR+"Dieses Objekt ist als aktuelles Datum/Uhrzeit markiert, soll die Markierung aufgehoben werden?";
      var MSG_setmark = WR+"Soll dieses Textobjekt als aktuelles Datum/Uhrzeit markiert werden?";
      var MSG_askformat = WR+"Soll das Textobjekt als Datum/Uhrzeit formatiert werden? Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
      var MSG_editformat = WR+"Datums-/Uhrzeitformat bearbeiten (Leer = entfernen). Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
      var MSG_notexto = WR+"Kein Textobjekt!";
      var MSG_selectedmany = "Zum Markieren als aktuelles Datum/Uhrzeit darf nur ein Textobjekt ausgew\xE4hlt sein und falls Sie die Daten aktualisieren wollen, darf kein Objekt ausgew\xE4hlt sein.";
      var MSG_nodocs = WR+"Kein Dokument ge\xF6ffnet."
      var Timeformat = 24;
      var TimeSep = ":";
      var AM = " am";
      var PM = " pm";
      var Dateformat = "dd.mm.yyyy";
    
    } else {
    
      var format_preset = "{FILENAME} ({DATE}, {TIME})";
    
      var MSG_unsetmark = WR+"This object is marked as actual date'n'time, do you want to remove the mark?";
      var MSG_setmark = WR+"Do you want to mark the selected textobject as actual date'n'time?";
      var MSG_askformat = WR+"Do you want to mark the textobject as actual date'n'time? Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
      var MSG_editformat = WR+"Edit date'n'time (empty = remove). Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
      var MSG_notexto = WR+"No textobject!";
      var MSG_selectedmany = "To mark as actual date'n'time, you have to select only one textobject. If you want to update the date'n'time-objects, there must be no object selected.";
      var MSG_nodocs = WR+"You have no open document."
      var Timeformat = 12;
      var TimeSep = ":";
      var AM = " am";
      var PM = " pm";
      var Dateformat = "yyyymmdd";
    
    }
    
    var error=0;
    
    if (documents.length<1) {
      error++;
      alert(MSG_nodocs)
    }
    
    if (error < 1) {
      date_n_time();
    }
    
    function TodayDate()
    {
      var Today = new Date();
      var Day = Today.getDate();
      var Month = Today.getMonth() + 1;
      var Year = Today.getYear();
      var PreMon = ((Month < 10) ? "0" : "");
      var PreDay = ((Day < 10) ? "0" : "");
      if(Year < 999) Year += 1900;
    
     var theDate = Dateformat.replace(/dd/,PreDay+Day);
     theDate = theDate.replace(/mm/,PreMon+Month);
     theDate = theDate.replace(/d/,Day);
     theDate = theDate.replace(/m/,Month);
     theDate = theDate.replace(/yyyy/,Year);
     theDate = theDate.replace(/yy/,Year.toString().substr(2,2));
    
     return theDate;
    }
    
    function TodayTime()
    {
      var Today = new Date();
      var Hours = Today.getHours();
      var Minutes = Today.getMinutes();
      var Suffix = "";
      if (Timeformat == 12) {
        if (Hours >= 12 ) {
     Suffix = PM;
     } else {
     Suffix = AM;
     }
     if (Hours >= 13) {
     Hours = Hours - 12;
     }
     if (Hours < 1) {
     Hours = Hours + 12;
     }
     }
      var PreHour = ((Hours < 10) ? "0" : "");
      var PreMin = ((Minutes < 10) ? "0" : "");
      return PreHour+Hours+TimeSep+PreMin+Minutes+Suffix;
    }
    
    function DateUpdate(Name) {
      var docpath = activeDocument.path.fsName;
      var docname = activeDocument.name.replace(/(.*?)(?:\.([^.]+))?$/,'$1');
      var extension = activeDocument.name.replace(/(.*?)(?:(\.[^.]+))?$/,'$2');
      if (docpath.slice(2,3) == "\\") {
        docsep = "\\";
      } else {
        docsep = ":";
      }
      var content = Name.slice(11);
      var content = content.replace(/\{FILE\}/,docpath+docsep+docname);
      var content = content.replace(/\{FILEPATH\}/,docpath);
      var content = content.replace(/\{FILENAME\}/,docname);
      var content = content.replace(/\{FILEEXT\}/,extension);
      var content = content.replace(/\{DATE\}/,TodayDate());
      var content = content.replace(/\{TIME\}/,TodayTime());
      return content;
    }
    
    function date_n_time()
    {
      if (selection.length == 1) {
        if (selection[0].typename == "TextArtItem" || selection[0].typename == "TextFrame") {
          if (selection[0].name.slice(0,11) == "actualDate:") {
            dateformat = selection[0].name.slice(11);
            Check = false;
            if (AIversion == "10") {
              Check = confirm( MSG_unsetmark );
            } else {
              dateformat = prompt(MSG_editformat, dateformat);
            }
            if(dateformat != "" && Check) {
              selection[0].contents = selection[0].name.slice(11);
              selection[0].name="";
              selection[0].selected = false;
            }
            if(dateformat == "" && !Check) {
              selection[0].name="";
              selection[0].selected = false;
            }
            if(dateformat && dateformat !="" && !Check) {
              selection[0].name="actualDate:"+dateformat;
              selection[0].contents = DateUpdate(selection[0].name);
            }
          } else {
            dateformat = selection[0].contents;
            if(dateformat.search(/\{DATE\}/) == -1 && dateformat.search(/\{TIME\}/) == -1 && dateformat.search(/\{FILE[A-Z]*\}/) == -1) dateformat = format_preset;
            Check = false;
            if (AIversion == "10") {
              Check = confirm( MSG_setmark );
            } else {
              dateformat = prompt(MSG_askformat, dateformat);
            }
            if (dateformat || Check) {
              selection[0].name="actualDate:"+dateformat;
              selection[0].contents = DateUpdate(selection[0].name);
              selection[0].selected = false;
            }
          }
        } else {
          alert ( MSG_notexto );
        }
      } else if (selection.length > 1) {
        alert ( MSG_selectedmany );
      } else {
        if (AIversion == "10") {
          var textArtItems = activeDocument.textArtItems;
          for (var i = 0 ; i < textArtItems.length; i++)
          {
            if (textArtItems[i].name.slice(0,11) == "actualDate:") {
              textArtItems[i].selected = true;
              textArtItems[i].contents = DateUpdate(textArtItems[i].name);
            }
          }
        } else {
          var textFrames = activeDocument.textFrames;
          for (var i = 0 ; i < textFrames.length; i++)
          {
            if (textFrames[i].name.slice(0,11) == "actualDate:") {
              textFrames[i].selected = true;
              textFrames[i].contents = DateUpdate(textFrames[i].name);
            }
          }
        }
      }
    }
    
    

    I THANK GOD ALMIGHTY!  A friend who knows AppleScript helped me to understand!

    executives of related texts var = activeDocument.textFrames;

    for (var i = 0; i)< textframes.length;="">

    If (.note executives of related texts [i] == 'NAME of the SUPERIOR FORDDOC') {}

    var frameName = .silence frames linked text [i];

    newFrame = frameName.replace (/(.*-.*-.*)-(. *) /, "$1$ 2");

    related texts [i] = newFrame .silence frameworks

    }

  • Find + replace text (string constant) does not work for screw Statechart module

    Hello

    I tried to do a mass find + replace a string in my code. Using Ctrl + F, LabVIEW 2012 correctly locates all the places where this string exists, including within the States transitions guards who have paths in this form:

    XYZ.lvsciagram.vi / Transition: Guard - diagram, Transition, data/part

    However, when I've specified that a replacement string, then click on 'Replace all', only 'normal' instances of screws replaced - instances in my diagrams had not changed.

    What is going on? Is there anything else I need to do?

    Thanks in advance.

    Looks like those that does not include how to find and replace is implemented in LabVIEW. You can try to replace just the statechart and see if that makes a difference, but it may simply not work.

  • Ideas for work around ORA-06502: character string buffer too small on the interactive report

    Hello

    It comes to Apex 4.2.  We try to create an interactive report.  The report is for something similar at a follow-up time.  We try to concat a comments column as the sum of the hours.  For example,.

    Select TASK_NAME, sum (HOURS), to_char (XMLAGG (XMLELEMENT(E,E.COMMENTS ||) ' : ')). Extract ('//Text ()'). GETSTRINGVAL()) USER_COMMENTS of...

    This query works fine if we seek only to a window of 1 week.  The question that we live, when we expand the scope of the query to include data from 3 months, we hit ORA-06502 interactive report.  If we remove this column from the interactive report, then the report works very well.

    Anyone has any ideas on how we might be able to work around this problem?  I'm guessing we're reached the limit of 32 k on the report.  Ideally, we would show just the last X number of comments and then have a link to show all comments

    Any help would be appreciated

    Thank you

    Mike

    ListAGG raises an ORA-01489 for varchar2 > 4000 bytes

    OP has an ORA - 06502--> IR is running within a limit of 4 k / 32 k.

    quick fix: wrap USER_COMMENTS ListAGG in a substr (..., 1, 4000)

    Longer solution, use a subquery to modify comments based on ROW_NUMBER() (IE after the nth line, change the null)

    with
    -- simulating data
    t as (select task_id, sysdate - lv as date_entered
      ,round(dbms_random.value(1,24)) hours
      , '-*' || lv || '.' || task_id || '*-' as user_comments
    from ( select level as task_id from dual connect by level <=10 ), (select level lv from dual connect by level < 1000)
    ),
    -- modify data
    modified_data as (
      select task_id, hours, date_entered
        ,case
          when row_number() over (partition by task_id order by date_entered desc) < 5
            then user_comments
          else null
         end USER_COMMENTS
        from t)
    select task_id, sum(hours) total_hours,
      listagg( user_comments  ) within group (order by date_entered desc)
      || case when count(*) >= 5 then '! MORE COMMENTS !' else null end
        as user_comments
    from modified_data
    group by task_id;
    
  • Find/replace doesn't work does not correctly

    I'm changing this symbol "<" to a ball of Wingdings.

    I put the symbol in the field of research, but when I stick the ball in the change of field it is a small ball (I'm not the biggest ball stick). When I go ahead and make the discovery then / change options, it replaces the symbol in the document, but the only thing that remains in place is an empty space pink highlighted as if I do not have the police Wingdings.

    Can someone help me solve this today? Thank you!

    Use the tab of the Find/Replace dialog box glyph. It is much more accurate. You can choose exactly what glyphs you want in the find and change of the form:

  • No reason not to use Virtual PC to work around inconsistency of program?

    I just bought a $29 printer instead of spending $45 to replace the No. 23 of my DeskJet HP ink cartridge.  Unfortunately, I forgot to check for compatibility and have not been able to find a way to share with Windows 98SE.

    I tried to upgrade my old copy of the print shop to Vista, but the Compatibility Assistant told me it was a known incompatibility.

    On a whim, I booted up my copy of Virtual PC with Windows XP and was able to install and run it without problem. THERE is a driver available for the printer and had XP no harm to use as a shared printer.

    Is there a reason not to use Virtual PC to work around incompatibility with Vista? I know that it is not suitable for the games because of limited capacity, but what about productivity as The Print Shop Deluxe 5.0 programs?

    P.S. Can someone suggest a way to share a HP DeskJet 1000 with Windows 98SE? I saw a reference to another printer that has 98 drivers called a Deskjet 1000cse, but according to the website of HP, this is another printer that is no longer supported. Any chance I can use drivers 95/98 for CSE to connect to a share of Vista? If so, how do I configure it? If these drivers are like drivers for my DeskJet 812C, the option "have disk" will NOT work in the list, the installer will put things for a local printer rather than on a network, an and I do not remember that it is also easy to change the port to a network printer, you can with XP and Vista.

    Is there a reason not to use Virtual PC to work around incompatibility with Vista? I know that it is not suitable for the games because of limited capacity, but what about productivity as The Print Shop Deluxe 5.0 programs?

    As long as it works, it's a great idea.

    teengeek.freehostingcloud.com

  • Work around for server not found problems on FF36

    I found a work around for all people with server not found problems with FF36.

    If you manually set your DNS network adapter to an external DNS server (as opposed to your local ISP) then the problem disappears. I set mine to use the google DNS servers:

     Preferred: 8.8.8.8
     Alternate: 8.8.4.4
    

    No idea why this works, but it is 100% success on my desktop PC, whereas before I could not connect to a Web page with FF36 without updating the multiple page and a lot of frustration, although FF35 was fine and back to FF35 turnover was as beautiful.

    Something has changed in FF36 and how it manages the DNS or the mode of operation with certain network cards.

    There is nothing to do with the Add - ons, profiles or software firewall as I tried all these things and that the DNS change makes a difference. I even copied on a full profile and directory of program files to work for Mozilla on my laptop which saw no problem and the problem still exists on the desktop, which is why I started watching the network adapater since everything between the working PC and no work was identical.

    I hope that this will help the developers to identify the real cause of the problem and fix it in the next version.

    AG - your problem looks different you had FF36 work.

    Considering that the problem of many of us that when we spend FF35 in FF36 we get a lot of server is found errors when you try to load Web pages.

    Sometimes they load and then they stop loading and then if you click Refresh a lot that they sometimes then charge again, or you have to wait a minute or two and then they load.

    For some reason any using an external DNS server {see # 698286 answer ~ J99} has stopped this problem completely, as does return to FF35.

    We need an expert on to Mozilla DNS resolution to focus on this. [*] See my note under ~ J99 Seems to me that you use an external DNS server adds some latency to name resolution and maybe this is necessary for the network card in the PC that encounter this issue to resolve the addresses of Web page.

    Obviously something changed in FF36 FF35 to cause this problem. I'm open to Mozilla contact me by E-mail if they want me to try something else to help pin it down.

    *

    change Note the John99
    Mozilla can consider WHETHER we are able to provide evidence to support this. We must be able to complete a report of bug with right steps to reproduce (STR). Developers should be able to see themselves the problem before we can expect to focus on this.

  • conditional text find/replace problem

    Hello!

    For a few hours, I'm trying to solve this case: I want to apply conditions (conditional text) to all paragraphs according to the name of the applied style. So, for example, text with paragraph called "BODY" style should have "BODY" of the conditional text etc. I figured out mechanism, but I can't solve the problem with passing to find/replace.

    Here is my code:

    (function() {
        if (app.documents.length > 0) {
            processDocument(app.documents[0]);
        }
        function processDocument(aDoc) {
            var paraStyles = aDoc.allParagraphStyles.sort();
            for (var j = 0; paraStyles.length > j; j++) {
                var currentStyle = paraStyles[j].name;
                if(aDoc.conditions.item (currentStyle) == null){
                    var varConditions = aDoc.conditions.add({name: currentStyle});
                }
                doFindChange(currentStyle);
            }
        }
    }())
    function doFindChange(currentStyle) {
        app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.nothing;
        
        app.findGrepPreferences.appliedParagraphStyle = currentStyle;
        app.changeGrepPreferences.appliedConditions = currentStyle;
        
        app.activeDocument.changeGrep();
    }
    

    I know what's wrong, but I have no idea how to change.

    Could someone help me?

    Thanks in advance!

    You have some problems in the code:

    1 move the actual paragraph style (and not just its name) to findGrepPreferences (your variable, currentStyle is a string, although this can work, it is better [especially for paragraph in the groups styles] to adopt the paragraph style real itself).

    2. Ditto for the appliedCondition: give changeGrepPreferences the condition itself, not just its name.

    3. it seems that changeGrepPreferences.appliedConditions expects a range of disorders, then give him a table even if it has only one member.

    Ariel

  • Find/replace for text formatting

    Hi guys,.

    How to use find/replace for text formatting changes? I would like to change a text of entire book to try an another typographical options. The book is currently typed in text of Lyon. The problem is when I change to Sabon will make it overides the italics and the word "BOLD".

    I tried to find/display

    Search

    Lyon text regular italic

    Change

    Sabon italic

    Captura de pantalla 2015-02-18 a la(s) 10.17.19.png

    but it does not work. Most of the text of this book is not formatted with the character to italic Style, for example, just a paragraph Style General to make it easier to work with.

    What I am doing wrong? Any help or ideas?


    Thank you!

    All of the text has a paragraph style that applies the formatting of basis for the whole paragraph. ALL text that deviates from the General formatting of the paragraph should have a style of character applied somehow, either directly, or as a nested or style GREP, which overrides the formatting of paragraph and gives what you want. The paragraph styles that do not change the font family are much more useful, for example a style that just changing the text in italics, as they continue to work when you change the font family of the paragraph style in the basic text format section.

    Character styles are used ONLY to change the part of the text in a paragraph. If the paragraph has the same formatting, it should have a paragraph set for this format style.

  • Find/replace highlights the bad code

    Hi, if you use find it normal and the search for specific text in my AS3 class file, it highlights the right position where he finds corresponding text, but when I use the search/replace completely it messes up, it highlights the text wrong in my code, but it displays the correct position in the Find/Replace window. Is there a way to fix this, or is this a known bug? See attached screenshot.

    Screen Shot 2013-06-19 at 10.56.15 PM.png

    Hello

    Thanks for sharing the file.

    The problem is with the end of Line (EOL) character. The file uses a rating of CR at the end of his LIFE and has been used in Mac OS 9 and Mac OS 9 version. When a file is created using one of these versions of Mac OS and then the EOL character would be CR which is now obsolete and is not recognized by many modern text editors.

    If the EOL is LF or CR | LF then search and replace will work as expected in Flash CC.

    You can change the end of LIFE of the file to open and save the file in Wordpad that will change the EOL to CR | LF.

    Hope this information helps you solve your problem.

    Thank you!

    Mohan

  • Strange problem with find/replace

    I'll have a little strange problem with find/change in InDesign CS4 Mac.

    The document is a data merge.  In the worksheet, there are two fields that contain either a '@' or a '&', depending on the context.  These are just placeholders - the plan was to convert glyphs of the police 'Wingdings 2' after creating the merged document.  We do it this way because we couldn't figure out how to get the glyphs themselves in the .csv file.  Two glyphs are < FO54 > and < FO56 >.

    First I used find/replace to change all the '@' symbols to < FO54 >.  That has worked well. But then when I tried to change the symbols "&" < FO56 >, I got the < FO54 > again instead.  In fact, now I ask what glyph, I get < FO54 >.  Find/replace always normally works for normal text... it of just that he seems to have decided that if I ask a glyph, I get < FO54 >, anything.

    I tried to shut down and restart, but the bug is still there.

    Any thoughts?

    I used the tabs of glyphs in find/replace when I tested it, but what you describe seems to work as well.

  • I'm locked out of my iphone5 not connected to my wifi at home and my home button does not work, any ideas on how to fix?

    I'm locked out of my iphone5 not connected to my wifi at home and my home button does not work, any ideas on how to fix?

    < re-titled by host >

    Take it to an Apple Store for repair or replacement.

  • Finder doesn't work well, even after "Killingall Finder"

    Hello world

    I have a MacBook Air on Mavericks OS X 10.9.5

    My Finder is not working properly and I tried Killingall Finder into the Terminal that solves the problem for a while, but after a few seconds, it will work again.

    The Finder window seems to be freeze and I can not choose any item or close it or anything. I'm afraid that there could be a bug, because I saw a few football matches on rojadirecta.com,wiziwig.TV which I know is not a true web site.

    Any help will be appreciated. Thank you!

    Try to open the menu to go with the Option (Alt) key - Library - Preferences button and find the file called "com.apple.finder.plist". Move it to the trash, and then restart your computer.

  • Independent cursors on the Board of the cluster of graphics (or work around)

    Hello

    I've been using Labview for awhile, but it's my first post here. I was try and research (on this forum and others) for a work around for my problem for a long time. I have an application that requires two layers of data selection. The first selection fills a 'table of groups of charts XY' dynamically using two cursors on a picture of intensity.

    Then I need to independently select data using the sliders on each of the generated graphs dynamically in this "table of groups of charts. However, I found that this is not possible because I can't use the sliders for each chart independently because they are essentially "the same graph.

    I am in desperate need of an elegant solution to this problem. I'm working on Labview 2010.

    Here's what I have considered:

    (1) I have considered using a graphic with plots separated by using the option "stack trace" but the graphs do not sliders.

    (2) I have reviewed several plots, and to play with the visibility property, but this is not necessarily dynamic because I would have pre allocate maximum plots, no I don't think that this solution is elegant.

    (3) I have regarded as a graph of mixed signals, but it's not dynamic because you cannot programmatically add and remove groups for the chart.

    (4) I plan to do a custom/indicator chart control that processes data as well as sliders?

    (5) possible to use labview OO to accomplish this?

    I have attached a dismantled version of the program with just the table of groupings of graphics with the sliders on them to give you an idea of what I'm after. I need to be able to control the sliders independently on several graphs that are produced during execution, it is absolutely essential for the application. I also absolutely need to have the ability to dynamically size the number of graphs running.

    Guru's out there who can suggest an elegant work around for this? I would greatly appreciate!

    Best regards

    Michael

    You can try something like this - http://forums.ni.com/t5/LabVIEW/User-interface-problem-list-of-clusters/m-p/2311770#M726599

    Indeed, it is an 'array of sub-panels', where each school can show a completely separate chart and you put the management code in the Subvi. The main question for you would probably be that you need to move data to and from the EIS. You can use events or FGVs for this (with events you can use an event and include the data of ID in there, or use a separate event for each VI and do a search for its reference.

Maybe you are looking for