selection set being ignored on command line?

Joe Chasan joe at magnatechonline.com
Wed Aug 4 13:35:54 PDT 2004


On Wed, Aug 04, 2004 at 03:05:20PM -0500, Jeremy Anderson wrote:
> I'm stumped.
> 
> I've made a selection set in IUA.  I've tested it there, and it selects 
> the 3 records I want (out of around 60000).
> I've saved it to a file named postpick2, which results in the creation 
> of the file /appl/filepro/MatUse/postpick2
> (yep, the Filepro File I'm working in is MatUse).
> In a menu, I run this command:
> /appl/fp/dreport MatUse -F PostPick -S postpick2 -a \
>                        -H "Selecting Materials for the Pick List"
> 
> Yet, when I run it from the menu, it selects all 60000 records.
> I'm baffled. 
> I'm fairly confident that it isn't the case of the command flags.  
> dreport is being called in lots of other menus (and associated scripts) 
> with -F instead of -f, and similar.
> I've checked filesystem permissions of sel.postpick2, and everyone can 
> read it.

get rid of the "-a" on command line, it means select-all, which is why
you see that happening - can't use -s and -a on same command line.

--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-Joe Chasan-                      Magnatech Business Systems, Inc.
joe at magnatechonline.com           Hicksville, NY - USA
http://www.MagnatechOnline.com    Tel.(516) 931-4444/Fax.(516) 931-1264


More information about the Filepro-list mailing list