Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable misbehave
Message
 
À
22/04/1999 11:15:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00211026
Message ID:
00211032
Vues:
28
>in VFP 3.0
>
>I have something like this pseudo-code
>
>lcSQl_Sta='Select * from Table2"
>
>lc1=lcProgramdefinedval1
>lc2=lcProgramdefinedval2
>lc3=allt(str(lnProgramdefinedval3))
>and so on...
>
>**I then create a passthrough statement like this
>
>lcSql_Sta="Insert Table(Field1,Field2..... ) " +; "values('&lc1',"+allt(str(lc3))+",'&lc2'.....)"
>
>
>wait window lcSql_Sta <--- this window displays 'Select * from Table2'
>
>lsql='test'
>
>wait window lcSql_Sta <-- this window dislays 'test'
>
>Question-- Is there anything in my code that prevents the proper assignment of the lcSql_Sta variable?

Check the line before the second assignment to lcSql_sta, it may be a comment that ends with a semi colon.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform