Building new company, but can't edit the new company menus... (SOLVED!)

Mike Schwartz filepromike at gmail.com
Wed Jan 3 05:25:47 PST 2018


     Your “PFMENU” suggestion was correct.  I thought I was setting PFMENU, but didn’t realize that PFMENU was being overridden until I took Jose’s suggestion and ran setperms.  I know who did this 30 years ago but she’s dead now, so it won’t do much good for me to lecture her...  <g>

 

     Problem was totally solved in about 2 hours.  It was a minor end-of-year closing problem that required me to edit a few dates on some mis-posted detail records.  

 

Thanks!

 

Mike

 

From: fP sales [mailto:sales at fptech.com] 
Sent: Wednesday, January 03, 2018 4:54 AM
To: mschw at athenet.net; 'Filepro List'
Cc: Mike Schwartz
Subject: Re: Building new company, but can't edit the new company menus... (SOLVED!)

 

Sorry Mike.  Didn't see your reply until this morning.
Tell those users to stop doing things without your permission.  :)
Glad you figured it out. 

Bill

On 1/2/2018 9:29 PM, Mike Schwartz via Filepro-list wrote:

From: Filepro-list [mailto:filepro-list-
bounces+mschw=athenet.net at lists.celestial.com] On Behalf Of Jose
Lerebours via Filepro-list
 
Have you 'setperms' for the new directory tree?
 
In my filePro application, I also use what you describe but each time, I make
sure I zap the lock files and run setperms
 
On 01/02/2018 08:40 PM, Mike Schwartz via Filepro-list wrote:

     Interestingly, when I run the programs (executing the first user defined

menu in the system) PFMENU does what I would expect.  It finds the menus
for the “newcompany”.  It is only “define menus” that does not allow me to
edit the menus in the /u/newcompany/menus subdirectory.

 
 
 
Mike
 
 
 
 
 
Set PFMENU
 
 
 
On 1/2/2018 8:05 PM, Mike Schwartz via Filepro-list wrote:
 
      I am running filePro 5.0.13D4 on SCO Openserver 6.  I built a complete
new "testing" company by copying all the existing filePro databases and
menus to a new subdirectory structure.
 
 
 
     Qualifiers will not work in this instance.  I want code I can mangle
without any possibility of damaging the main code or databases.  I will
transfer all my changes to the main system after I am done making changes

to

my test system.
 
 
 
     I copied all the filePro databases from  /appl/filepro to the
/u/newcompany subdir, then I copied the menus to

/u/newcompany/menus and

I've set the following:
 
 
 
PFDIR=/u/newcompany; export PFDIR
 
PFMENU=/u/newcompany/menus; export PFMENU
 
 
 
      Everything seems to work, EXCEPT when I go to the filePro main "P"

menu

and try to edit a menu.  The "P" menu always seems to open the original
/appl/fp/menus.
 
 
 
      I don't want to change the PFPROG setting, because I only have one set
of filePro programs on the system.  From the "P", when I try to "Define
Output" or  "Define screens: or even "Define edits" I get the correct
"newcompany" programs "Define user menus" is the only thing that does

not

work.
 
 
 
      Suggestions?
 
 
 
And, Happy New Year everybody!
 
 
 
Mike Schwartz
 
 
 
 
 
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL:  <http://mailman.celestial.com/pipermail/filepro-

list/attachments/20180102/b772470e/attachment.html>
 <http://mailman.celestial.com/pipermail/filepro-list/attachments/20180102/b772470e/attachment.html> <http://mailman.celestial.com/pipermail/filepro-
list/attachments/20180102/b772470e/attachment.html <http://mailman.celestial.com/pipermail/filepro-list/attachments/20180102/b772470e/attachment.html> >

_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list
 
 
 
 
 
 
 
  <https://www.avast.com/sig-

email?utm_medium=email&utm_source=link&utm_campaign=sig-
email&utm_content=emailclient&utm_term=icon>

 
Virus-free.  <https://www.avast.com/sig-

email?utm_medium=email&utm_source=link&utm_campaign=sig-
email&utm_content=emailclient&utm_term=link> www.avast.com

 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-

list/attachments/20180102/77566235/attachment.html>

_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list

 
--
Jose D. Lerebours
954-559-7186
https://www.cargosaas.com
http://www.ezbookeep.com
http://www.ezdaemon.com
http://www.fp2php.com
 
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list

 
     Hmmm... good thought.  Setperms apparently doesn't obey the PFMENU setting, either, although setperms did find the (moved) databases in /u/newcompany/filepro:
 
pts002 schwartz root: ./setperms
Checking for user 'filepro'...
User 'filepro' found, proceeding normally...
Setting permissions and ownerships for filePro programs
located in /u/appl/fp
Setting permissions and ownerships for filePro menus
located in /u/appl/fp/menus
Setting permissions and ownerships for filePro data files
located in /u/newcompany/filepro
 
    Setperms found my old menus in /u/appl/fp/menus and not the new menus in /u/newcompany/menus.   
 
[ $quiet ] || echo
[ $quiet ] || echo "Setting permissions and ownerships for filePro menus"
if [ "$PFMENU" != "" ]
then
    cd $PFMENU
    [ $quiet ] || echo "located in $PFMENU"
elif [ "$FPMENU" != "" ]
then
    cd $FPMENU
    [ $quiet ] || echo "located in $FPMENU"
elif [ -d $PFPROG/fp/menus ]     
 
     OK, found it!  Somebody apparently is inserting some settings in someplace else that is overriding PFMENU.  When I go into a filePro menu and then "shell out", I see that PFMENU is no longer /u/newcompany/menus.  I will have to figure out where that is...
   
Thanks Bill and Jose!
 
Sorry to bother you all!     
 
Mike
=========================
 
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list

 

 


 <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> 

Virus-free.  <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> www.avast.com 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20180103/09c9722f/attachment.html>


More information about the Filepro-list mailing list