System command, dreport and data transfer
Bruce Easton
bruce at stn.com
Wed Jan 31 10:15:55 PST 2007
Bruce Easton wrote Wed 1/31/2007 12:53 PM:
>
> Dan Snyder wrote:
> [..]
> >> My code just doesn't work when I try to call if from @wbrk1
> >> when subtotaling on a part using "D-Request Output" which
> >> is "dreport" I think.
> [..]
> Mark Luljak wrote:
> [..]
> > If it's not working from @wbrk1, either that event is never hit,
> [..]
>
> Dan, regardless of your method, concerning @wbrk#, Mark's first
> suspicion is
> probably right - if you don't have a form that you are
> referencing when you
> run your request that has a sub-total break# defined on it, the processing
> @wbrk# will not be triggered. Therefore, if you want a trigger @wbrk#,
> define a form (any type, but #5), and define your desired fields
> to break on
> (on the Sort Info screen). If you want to run your request from "Request
> Output," then name your format name the same as the processing
> that you have
> defined.
>
> If you are not interested in any printed output from the form,
> then redirect
> to a file, or /dev/null, depending on your O/S.
>
> Bruce
Oops! I was wrong about type form type, though, you have to pick type 1 or
4 ("A report"/"Other printed output") to be able to set a break flag on the
sort screen in Define Output.
Bruce Easton
STN, Inc.
More information about the Filepro-list
mailing list