Terence-
Client/Server 101:
There is a TON of overhead creating the connection to the back end, especially when it's SQL Server. It still wouldn't be great, but I bet your report would run much faster if you first open the table in Datasheet view (which establishes a Connection), then while leaving the Datasheet open, run your report.
Classic "trick" in any C/S application is to open some recordset to the back end on startup and leave it open for the duration. You'll suffer the overhead only once because all subsequent hits to the server will share the already opened connection.
John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
(Paris, France)
On May 18, 2015, at 7:25 AM, 'Graham Mandeno' graham@mandeno.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
Hi Terence
That's a very old version. I suggest you download and try either the ODBC Driver 11
or the Native Client 11 (https://msdn.microsoft.com/en-us/sqlserver/aa937733.aspx).
-- Graham
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Monday, 18 May 2015 16:48
To: MS_Access_Professionals@yahoogroups.com
Subject: RE: [MS_AccessPros] Ms access using SQL server
Sent: Monday, 18 May 2015 16:48
To: MS_Access_Professionals@yahoogroups.com
Subject: RE: [MS_AccessPros] Ms access using SQL server
Graham,
additional info
When i use my windows control panel, admin tools and display the connection this is what i see:
Microsoft SQL Server ODBC Driver Version 06.01.7601
Data Source Name: PHQCDB
Data Source Description: PHQCDB DB Access
Server: PHQCDB
Database: PHQCDB
Language: (Default)
Translate Character Data: Yes
Log Long Running Queries: No
Log Driver Statistics: No
Use Regional Settings: No
Prepared Statements Option: Drop temporary procedures on disconnect
Use Failover Server: No
Use ANSI Quoted Identifiers: Yes
Use ANSI Null, Paddings and Warnings: Yes
Data Encryption: No
Terence
Any help is greatly appreciated.
__._,_.___
Posted by: John Viescas <johnv@msn.com>
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (17) |
.
__,_._,___
Tidak ada komentar:
Posting Komentar