Another one: Why don't brwlook show-only's in auto run every time?

Jay R. Ashworth jra at baylink.com
Sun Dec 2 17:10:13 PST 2007


On Sun, Dec 02, 2007 at 05:42:18PM -0700, fp at casabellagallery.com wrote:
> Jay posted:
> > I have this brwlook in my automatic processing:
> > 
> > ::lookup slips = ttmslipe  k=1    i=c -nxm b="(brw=14,7,1 show=only
> > fill=desc,top)[Slip     Type    Tech    Desc:
> > ::                    Comment]*1       *2      *7      *3
> > *131":
> > 
> > When I select a record from the index or browse, I get the brwlook. 
> > 
> > But if I then use the arrow keys to move up and down the index, I don't
> > get the browse, even when there are records that should match it.
> > 
> > If I go directly to those records, I do get it, with the proper
> > contents.  Shouldn't it happen every time automatic runs?  Automatic
> > runs every time I position myself onto a new record, right?
> > 
> > Or is this one of those nasty interactions with "automatic runs three
> > times, and there isn't a system variable to tell you which of the three
> > runs it is?"  :-}
> > 
> 
> Automatic process runs every time a record is opened but it does
> not mean every line in the processing table is always executed.
> 
> Make sure you do not have a condition which keeps routine from running
> or that said condition is actually TRUE or bug-free.

The lookup (was initially) the only thing in that table.

I added a SHOW@ of @RN, in front of it: when I change records, the
(old) lookup remains up on the screen until the code encounters the
lookup statement again, at which point it comes down.

So obviously, I need to find a way to pull it down when I enter a new
record.

What's that idiom for determining which run of AUTO you're in?

You know, @AP=1, 2, or 3, which doesn't exist?

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274

	     Witty slogan redacted until AMPTP stop screwing WGA


More information about the Filepro-list mailing list