Differences

This shows you the differences between two versions of the page.

Link to this comparison view

240:filters240 [2013/04/27 09:09] (current)
Line 1: Line 1:
 +====== MARC Report 240: Filters ======
 +
 +A few small changes were made to the functionality of the various Filters available in an Edit Session.
 +
 +__Brief Message Filter__
 +
 +The Brief Message filter now supports inverting the sense of a filter by prefixing a minus sign to it. For example, the Brief Message filter <code>245,260</code> displays only those brief messages that begin with tag 245 or 260; by prefixing a minus sign to this filter <code>-245,260</code> the result will then be only those brief messages that __do not__ begin with a 245 or 260.
 +
 +To launch the Brief Messgae filter dialog, press **<Ctrl><Alt>B**
 +
 +__Find Next__
 +
 +On the right hand panel, under the list of Brief Messages, there is a box called 'Find Next'. Whenever you click on a brief message, the clicked-upon message is copied down to this box. If you then press the green arrow on the right, the program seeks ahead through the file until it reaches either the next record with this message, or the end of file.
 +
 +This makes it easy to 'walk through a file' stopping only at records with a particular message.
 +
 +But in a big file, the message you want may be thousands of records down the line! So we added the ability in 240 to simply type in the message that you want to 'Find'. 
 +
 +The syntax for the message is a bit tricky, and this will work best if you have batch report to work from. Enter the tag, followed by a colon and a space, and then the exact message. Case does not matter. 
 +
 +Therefore, <code>300: add subf $c delimiter</code> and <code>300: Add Subf $c delimiter</code> will match, but not <code>300: Add subfield $c delimiter</code>
 +
 +Note: When the program reports a brief message, it always includes an occurrence number (prefixed with a dash) after the Tag: <code>300-01: Add subfield $c delimiter</code>. Do __not__include this occurrence spec when typing a message into the 'Find Next' box.
 +
 +__Find Next Without__
 +
 +If you are working through a file where most records have the same problem, you might want to skip ahead to the next record that does not havve a certain problem.
 +
 +You can now do this by right-clicking the green arrow and selecting 'Find next record without this message'.
 +
 +You will see when you select this option that an exclamation mark is inserted at the beginning of the message; this is a signal to the program to __not__match the message.
 +
 +__Find Next Notes__
 +
 +If, at any point, you want to stop scanning ahead, click on the red block  button to the right of the green arrow. This will stop the scan.
 +
 +If the program reaches the end of the file without finding a matching/non-matching message, it pops up a message saying 'Last record in file'.
 +
 +Sometimes, if the program has been scanning for awhile it may seem like it is not responding to the stop button. If that happens, click it a few more times.
  
240/filters240.txt · Last modified: 2013/04/27 09:09 (external edit)
Back to top
CC Attribution-Noncommercial-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed