Submit Multiple SQL statemtents to one Execute statement
- From: egan006@xxxxxxxxx
- Date: Wed, 06 Jun 2007 16:36:01 -0700
HI
I have code
Firstly
dim sql as string
dim con as adodb.connection
dim conStr as sring
conStr = "DSN Warehouse IP etc etc etc"
con.open constr
'This is not complete but this is not the problem'
I have a text box on the form which is like an IDE
the user types a SQL into this say for example
delete from customer_table;
insert into customer_table
select * from old_customer_table;
This SQL script contains 2 statement which get assigned to sql
variable
when i try 'con.execute sql' i get an error
any suggestions,
.
- Follow-Ups:
- Re: Submit Multiple SQL statemtents to one Execute statement
- From: Bob Barrows [MVP]
- Re: Submit Multiple SQL statemtents to one Execute statement
- Prev by Date: Re: Accessing Access 2007 Databases
- Next by Date: Re: Submit Multiple SQL statemtents to one Execute statement
- Previous by thread: Re: Accessing Access 2007 Databases
- Next by thread: Re: Submit Multiple SQL statemtents to one Execute statement
- Index(es):
Relevant Pages
|
|