Windows fP doesn't find its databases

Bob Stockler bob at trebor.iglou.com
Wed May 16 10:25:06 PDT 2007


Mark Luljak wrote (on Wed, May 16, 2007 at 12:24:16PM -0400):

| With neither thought nor caution, Kenneth Brody blurted:
| > 
| > PFDATA is no different under Windows than it is under *nix.  The maps,
| > screens, prc, etc. need to be in $PFDATA$PFDIR/filepro/filename.
| 
| Except in what, 14 years, I've never once set PFDATA.  It's always blank in
| /etc/default/fppath.  You'll end up with one like:
| 
| *****
| /appl
| 
| /appl
| *****
| 
| So since it's never set in *nix (at least on the systems I've worked on,
| and I'm staring at a working one right now), I'd say it's not exactly
| working the same in Windows.
| 
| > Under *nix, if "/hd1/deputy/filepro/filename" were where the files
| > reside, and "PFDIR=/deputy", I assume you would properly determine
| > that PFDATA needs to be "/hd1".
| 
| I generally take the default /appl setup, so I usually don't
| have to mess with it.  Even when I put a whole set of databases
| in /home/fairlite/filepro while the rest is in /appl/filepro or
| /usr/appl/filepro, I only have to change PFDIR in my environment to be
| /home/fairlite and it works fine.  I never, ever touch PFDATA.  Ever.
| Well, not since I stopped confusing PFDIR and PFDATA by mistake, but that
| was years ago. :) 
| 
| So I wouldn't necessarily assume or determine anything about it.  Actually,
| for some reason, I always think PFDATA is what is supposed to point to the
| */fp directory.  Which is probably wrong, but the old 4.1 manual gave me
| that impression.  But as I say, I've never had to tinker with it.

At one point in time I came across some filePro documentation
that had the descriptions of PFDATA and PFDIR reversed, but as
long as I've used filePro they've had these definitions:

  1.0     PFDATA=drive     Drive letter for the "/filepro" directory.
                           overrides second line in /etc/default/fppath
                           Default: if not set and no fppath - goes
                           to 'root' drive on UNIX, current drive on DOS

  1.0     PFDIR=path       Path for the "/filepro" directory.
                           overrides third line in /etc/default/fppath
                           Default: if not set and no fppath, uses
                           "root" drive of PFDATA-specified drive.

I'm guessing that if you hadn't set PFDSK to anything (and had
not set PFIGN to anything) the filePro files would have been
found.

| > Now, under Windows, the files are in "Z:/deputy/filepro/filename",
| > and PFDIR is still "/deputy".  The same logic leads you to the fact
| > that you need "PFDATA=Z:".
| 
| I'll try it when the system becomes available again.  Network difficulties.
| 
| mark->
| -- 
| No matter what your problems, modern medicine can help!
| http://members.iglou.com/fairlite/fixital/

Bob

-- 
Bob Stockler +-+ bob at trebor.iglou.com +-+ http://members.iglou.com/trebor


More information about the Filepro-list mailing list