Auto index in reverse order

Jean-Pierre A. Radley appl at jpr.com
Mon Feb 14 13:45:03 PST 2005


Mark Luljak propounded (on Mon, Feb 14, 2005 at 04:16:39PM -0500):
| Yo, homey, in case you don' be listenin', Jay Ashworth done said:
| > On Mon, Feb 14, 2005 at 03:43:20PM -0500, Fairlight wrote:
| > > Simon--er, no...it was Dennis Malen--said:
| > > >  Is there any way I can run and automatic index in reverse order.
| > > > 
| > > > I want it to start at the end of the file and not at the beginning.
| > > 
| > > When you build the index, put an "X" in the Descending field.  
| > > 
| > > Unless you mean something drastically different than I think you mean.
| > 
| > To clarify, *later* versions of filePro know how to build automatic
| > indexes in descending order, I know 5.0 does, I'm *pretty sure* 4.8
| > did; I dunno about 4.5; I'm almost certain 4.1 and earlier did *not*.
| 
| Someone with 4.8.10 just called my attention to the fact that theirs does
| -not-.  Seeing as I believe the target platform here is AIX, and there's no
| 5.0 yet for AIX, this presents a bit of a problem.
| 
| "You can't get there from here..."

If the index is built on a file with alphabetic characters, Dennis will
have to wait until 5.0 arrives for AIX.  If it's a date, then the trick
is to add a real numeric field (length 5) to the map, and have auto
processing stuff it with the difference between 01/01/NN (where NN is
one greater than PFCMARK) and the real date field that you wanted to
peruse in reverse order.

-- 
JP


More information about the Filepro-list mailing list