Heads up on "reindex"....
John Esak
john at valar.com
Thu May 3 15:48:18 PDT 2007
> >
> > PS - The Windows distribution of filePro v5.6 has a filePro program
My feeling is that if you need to rebuild all the indexes, say you're
copying a file to a new name or some such, you can work off a list/table for
original index values, but what if the users have *added* brand new indexes
of their own? For the new SS Accounting, I wrote a very elaborate (read
thorough) menu-driven indexing routine which deals with files, qualifiers,
etc. Whatsever in the list gets done, whatever it finds new gets done
also... all with file i/o calls to read the actual index headers directly so
it would work on Windows and *nix. It also copies key/data if required.
It's the kind of thing you can use on your own set of files, just by
changing the records in the SS Accounting filePro file that holds their
names... to your file names, and bang it works on all platforms. It was more
the seting of correct PATHS for all the possible variations on *nix and
Windows, the difference between the various platform-based commands like
"mv" and "rename", "cp" and "copy", etc., that needed to be worked out so it
could be completely generic. That's why I went with doing it entirely from
within filePro without using any of these commands, no SYSTEM dependent
tools or programs. Why worry about operating system differences when filePro
takes care of all that for you?
John
More information about the Filepro-list
mailing list