Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert Into Access table
Message
De
04/06/2002 05:36:24
 
 
À
04/06/2002 05:24:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00664348
Message ID:
00664358
Vues:
20
This is invalid syntax. Try following:

SQLEXEC(lnAccess,"INSERT INTO mytable (mytable.no,mytable.batch,mytable.filename) VALUES (" + alltrim(str(tmpdata.no)) + ", '" + tmpdata.batch + "', '" + tmpdata.filename + "')", "Mytable")

This statement assumes that tmpdata.no is numeric and tmpdata.batch and tmpdata.filename both are strings.

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform