Syntax error

Joe Chasan joe at magnatechonline.com
Wed Mar 19 09:05:44 PDT 2008


On Wed, Mar 19, 2008 at 11:47:53AM -0400, Don Coleman wrote:
> I am creating an open selection set via export on the fly from within a -v
> select process table.  Instead of being able to hardcode the entire path I
> now need to incorporate a variable (which contains the user's initials).
> However, when I do so I get a syntax error.  Anyone see my problem?
> 
> Previous
> RF="E:\QS1\TODO\FILEPRO\QS1\DOUBLE.SEL"{""
> Works ok and passes syntax check
> 
> 
> Modified
> RF="E:\QS1\TODO\FILEPRO\QS1\"{DE{".SEL"{""
> 
> The syntax error points to the "." (period) just before the SEL.
> The variable (DE) is defined earlier in the table.

by having the backslash immediately before the double-quote you are
messing yourself up.  try backslash then space - the "{" will get rid
of the space anyway - e.g.

RF="E:\QS1\TODO\FILEPRO\QS1\ "{DE{".SEL"{""
 
--
-Joe Chasan-                           Magnatech Business Systems, Inc.
joe - at - magnatechonline -dot- com   Hicksville, NY - USA
http://www.MagnatechOnline.com         Tel.(516) 931-4444/Fax.(516) 931-1264


More information about the Filepro-list mailing list