Tip of the day: Running reports from a control record

Kenneth Brody kenbrody at bestweb.net
Mon Oct 15 17:07:09 PDT 2007


Quoting John Esak (Mon, 15 Oct 2007 19:45:56 -0400):

> Mr. filePro,
>
> Very nice... why didn't you post this tip about 15 years ago? :-)

Because I didn't write it until this morning, when I was asked to solve
the problem of multiple instances running simultaneously.  :-)

> Meanwhile, I've been doing the following for about 15 years as well... how
> does mine differ from yours substantively? Especially viz the free chain?
>
> I put the code I want to use at the top of an output table in the control
> file (as yours does), like the following...
>
>
>      If:
>    Then:  'do all my lookups and such here, run the report
>      If:
>    Then: delete;  exit
>
>
> I run this without a -v table as:
>
>  dreport filename -fp myoutput -a -u

What record do you sit on?  How do you handle multiple people running the
report simultaneously?

> Does mine run the risk of corrupting the free chain any more than yours...
> Is there some reason you are using the seemingly extra -v table with its
> lookup dash?

It moves you to a unique record, thereby allowing more than one instance
of the report to run at the same time.

> I tried to put this response on the forum, but I got messed up doing it...
> I'll try again later.
[...]

-- 
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list