Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax Error
Message
 
 
To
21/11/2002 21:05:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00725578
Message ID:
00725583
Views:
7
In cases like that I use square bracets as string delimiters. It makes code eithier to read.
lcCommand=[SHAPE {SELECT * FROM "dbo"."Clientes" WHERE C_CODIGO = ]"+tcChv+"[}  AS Clientes APPEND]
* fixed
lcCommand = [SHAPE {SELECT * FROM "dbo"."Clientes" WHERE C_CODIGO = '] ;
		+ tcChv + ['}  AS Clientes APPEND]
>Hi all,
>
>Why this give me a syntax error,
>
>lcCommand='SHAPE {SELECT * FROM "dbo"."Clientes" WHERE C_CODIGO = '"+tcChv+"'}  AS Clientes APPEND'
>...
>
>
>Thank's
>
>João Batista
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform