Repeat

Richard Kreiss rkreiss at gccconsulting.net
Fri Mar 4 10:50:56 PST 2011


Joe,

Try this code:

63  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ◄ If: br gt "1"
       Then: zz=repeat("[CDWN]","6"*br)
 64  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
       ◄ If: br gt "1"
       Then: pushkey "\""{zz{"\""

I set br=@br-"1" as you will be starting on the first row.

If you set br to @br, the cursor will be moved to the next record.

Place the above code above your browse line.


Richard Kreiss
GCC Consulting
rkreiss at gccconsulting.net
  






> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
> [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On
> Behalf Of Kroboth, Joe
> Sent: Friday, March 04, 2011 9:41 AM
> To: rkreiss at gccconsulting.net; filepro-list at lists.celestial.com
> Subject: RE: Repeat
> 
> 
> >
> > I tested repeat prior to sending my email about moving the cursor down
> > to Joe and the list.
> >
> > What I tried was
> >
> > QQ="\"[CDWN]\""
> >
> > Pushkey repeat(qq,br)
> >
> > This didn't work even though it passed the syntax check.
> >
> > Is there a way to have pushkey work with repeat?
> >
> > This would make program this type of thing a lot easier.
> >
> >
> > Richard Kreiss
> > GCC Consulting
> > rkreiss at gccconsulting.net
> >
> >
> 
> Hi Richard,
> 
> Pushkey does not seem to work when putting it before the lookup. The
> browse line never moves. Maybe a PC vs Linux thing?
> 
> 
> 
> Joe Kroboth
> Chernay Printing, Inc
> joe_kroboth at chernay.com
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list



More information about the Filepro-list mailing list