Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax Error
Message
 
 
À
21/11/2002 21:05:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00725578
Message ID:
00725583
Vues:
8
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform