Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INSERT INTO cannot be parameterized?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
INSERT INTO cannot be parameterized?
Divers
Thread ID:
00829582
Message ID:
00829582
Vues:
50
This works (in VFP):

lnID = 5
SELECT * FROM mytable WHERE TableID=?lnID

But this doesn't work:
lnID = 5
lcName = "Name"
INSERT INTO MyTable ( TableID, Name ) VALUES ( ?lnID, ?lcName )


Is this true?

Why is this? Should INSERT and DELETE be able to be parameterized just like SELECT????
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform