Suggestion for fpidx program

Richard Kreiss rkreiss at gccconsulting.net
Mon Jul 16 19:42:44 PDT 2018


You might want to consider modifying the supplied index rebuild program FPidx and fpidxdat programs.

As a developer, I maintain copies of all of my client's programs & file on my server.  If I run fpIdx, the file built for each client will overwrite the previous run.

To avoid this I have been manually renaming the file to have the first 3 letters of the client's name or 3 letter abbreviation for that client as the prefix of the file name.  i.e. foo_fpreindex.bat (windows).

Since this program is located in each client's filePro folder(directory), I modified the program by adding a long variable called client and set the equal to the client code wanted and added that to the file name to be created.

Another approach would be to add an environmental variable to the startup file possibly called FPclient and set that to the client code wanted.  That would keep it generic and then the copied program could get the client's name without having to modify the processing table for each client.

This is not a problem for a single site (client's site).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 14309 bytes
Desc: not available
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20180717/5a3a1edc/attachment.bin>


More information about the Filepro-list mailing list