WHAT IS THE TRICK FOR sql insert? 
Author Message
 WHAT IS THE TRICK FOR sql insert?

I can not get it to work.  

Set dbadd =
DBEngine.Workspaces(0).OpenDatabase("D:\odir\access\adres.mdb")

dbadd.execute "Insert into People(Fname) Values(""John"")"

Seems like it should work fine.     Any clue.



Sun, 17 May 1998 03:00:00 GMT  
 WHAT IS THE TRICK FOR sql insert?
Try this:

dbadd.execute "Insert into People(Fname) Values('John')"

:I can not get it to work.
:
:
:Set dbadd =
:DBEngine.Workspaces(0).OpenDatabase("D:\odir\access\adres.mdb")
:
:dbadd.execute "Insert into People(Fname) Values(""John"")"
::Seems like it should work fine.     Any clue.



Sun, 17 May 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Inserting data into mutliple tables using SQL Insert Command

2. Insert Data Into Access Database From SQL Server ADO Insert

3. need ID from newly inserted record (altered by insert trigger on SQL server)

4. How? insert data with SQL Insert statement

5. Inserting some junk in the place of AM/PM

6. sql inserting file into SQL image column

7. Insert date type varible through ODBC SQL server driver to SQL 7.0 database

8. ADO and SQL: what am I doing wrong ?

9. Please help, I am new to Jet Engine and SQL

10. SQL What am I doing wrong ?

11. Which SQL Driver am I using ?

12. Am in SQL Hell please help

 

 
Powered by phpBB® Forum Software