Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record Insertion on Access DB not Inserted...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Record Insertion on Access DB not Inserted...
Divers
Thread ID:
00932253
Message ID:
00932253
Vues:
40
Hi to All,

I used the ff. code inserting records on an MS SQL Server DB
and works fine, but under MS Access, it doesn't insert a new row of record?
Anything missing with my code below?

= SQLSETPROP(lnConnHandle, 'Transactions', 2)  && Manual transactions
= SQLEXEC(lnConnHandle, "INSERT INTO CUSTOMER (Customer_id, Barcode);
VALUES (@nTOTCUST, @cBarcode)")
=SQLCOMMIT(lnConnHandle)
= SQLDISCONNECT(lnConnHandle)
Messagebox("Customer Added!",0+64,"",1900)


I presided using ? on my memvar but still the same? Any Ideas...
Am I lacking something in my code?

Thanks...
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform