Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01194131
Message ID:
01194201
Vues:
9
If lcPermID is a VFP variable. You can do it 2 ways:

Option 1:
lcSQL = "select * " + ;
	"from TRPSurvey" + "..exported " + ;
	"where cPermID = '" + alltrim(lcPermID) + "'"
Option 2:
lcSQL = "select * " + ;
	"from TRPSurvey" + "..exported " + ;
	"where cPermID = ?lcPermID"
Provided that lcPermID is already trimmed with spaces.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform