A
Aceware
Access 2003 FE, SQL 2005 express BE
Generic code :
docmd.setwarnings false
docmd.openquery "sql pass thru query 1"
docmd.openquery "sql pass thru query 2"
etc
docmd.setwarnings true
Just started happening today (nothing has changed in my environment)
Intermittently will happily run the 1st pass thru query without comment but
next query will prompt:
"You are about to run a pass-through query that may modify data in your
table etc"
9 times out of ten code will run without any warning.
I have checked error log of SQL and cannot see anything significant.
I know I could turn off all action query warnings in options but usually I
do not need to.
I have tried importing all the database objects in to a completely new
virgin mdb but has not helped.
Any suggestions gratefully received.
Many TIA
Tony
Generic code :
docmd.setwarnings false
docmd.openquery "sql pass thru query 1"
docmd.openquery "sql pass thru query 2"
etc
docmd.setwarnings true
Just started happening today (nothing has changed in my environment)
Intermittently will happily run the 1st pass thru query without comment but
next query will prompt:
"You are about to run a pass-through query that may modify data in your
table etc"
9 times out of ten code will run without any warning.
I have checked error log of SQL and cannot see anything significant.
I know I could turn off all action query warnings in options but usually I
do not need to.
I have tried importing all the database objects in to a completely new
virgin mdb but has not helped.
Any suggestions gratefully received.
Many TIA
Tony