Lookup syntax - literal key

Joe Chasan joe at magnatechonline.com
Fri Sep 7 08:02:23 PDT 2007


On Fri, Sep 07, 2007 at 10:40:15AM -0400, Jay R. Ashworth wrote:
> > *** A filePro Error Has Occurred ***
> > 
> > Line Number: 25
> > 
> > lookup code=svalookr k=("CAT") i=A -nx brw="*2"
> >                                          ^
> > Process contains a syntax error at position indicated.?
> 
> (caret position checked)
> 
> Laura's QRG says that "k=(exp) - Key may be an expression" as of 4.8.
> 
> Does "expression" not devolve as far as "string literal"?
> 
> Or is this really complaining about the brw= argument?

your k=syntax is correct
your brw=syntax is not

it should be b="*2"  at the very least.
the brw= parameter is for optional parameters like lines/row/col/popup...
and the brw section, if used, seems to belong in parentheses.
 
--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-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