Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable misbehave
Message
De
22/04/1999 11:15:45
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Variable misbehave
Divers
Thread ID:
00211026
Message ID:
00211026
Vues:
68
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform