Syntax error
GCC Consulting
gccconsulting at comcast.net
Wed Mar 19 09:14:23 PDT 2008
> -----Original Message-----
> From: filepro-list-
> bounces+gccconsulting=comcast.net at lists.celestial.com [mailto:filepro-
> list-bounces+gccconsulting=comcast.net at lists.celestial.com] On Behalf
> Of Don Coleman
> Sent: Wednesday, March 19, 2008 11:48 AM
> To: filepro-list at lists.celestial.com
> Subject: Syntax error
>
> 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.
>
> Don Coleman
> Donald G. Coleman, Consultant
> 402 Andrew Circle
> Indiana, PA 15701
> dcoleman at dgcreact.com
> (724) 349-6302
>
Try setting a long variable with the file name and path.
File_name=="E:\QS1\TODO\FILEPRO\QS1\"{DE{".SEL"{""
Then export (filename)
It is also possible that the actual syntax error has to do with using back
slashes.
Try using forward slashes / instead. Windows and dos will read these
correctly.
Or set ch=chr("92") back slash. Chr("47")=/
rf="E:"{ch{"QS1"{ch{"TODO"{ch{"FILEPRO"{ch{"QS1"{ch{DE{".SEL"{""
This last option should pass syntax check.
Richard Kreiss
GCC Consulting
rkreiss at gccconsulting.net
More information about the Filepro-list
mailing list