O
obviously.bogus
I have an Access Project (.ADP) with a SQL Server 2000 database.
When creating a Form or Report in "Design View", Access 2007 is
querying the server with
"SELECT v_viewname.* FROM v_viewname"
and Access 2003 queries the server with
"SELECT * FROM v_viewname"
(I'm seeing these queries with SQL Server Profiler on the server
itself)
This happens every time the Form or Report is opened, every time a
field is added or removed, every time the sort order or grouping is
changed
Unfortunately, without any WHERE clause, the view can take a long time
to run, and sometimes even exceeds the timeout, and then bad things
start happening as Access then "forgets" the column list (even tho its
right there in the RecordSource property)
So is there anyway to prevent Access from doing "SELECT *" while in
Design View ?
When creating a Form or Report in "Design View", Access 2007 is
querying the server with
"SELECT v_viewname.* FROM v_viewname"
and Access 2003 queries the server with
"SELECT * FROM v_viewname"
(I'm seeing these queries with SQL Server Profiler on the server
itself)
This happens every time the Form or Report is opened, every time a
field is added or removed, every time the sort order or grouping is
changed
Unfortunately, without any WHERE clause, the view can take a long time
to run, and sometimes even exceeds the timeout, and then bad things
start happening as Access then "forgets" the column list (even tho its
right there in the RecordSource property)
So is there anyway to prevent Access from doing "SELECT *" while in
Design View ?