473,498 Members | 98 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Does using Filter vs. RecordSource for Report create more network traffic?

In order to get the records I want on a report I sometimes create a
SQL string for the RecordSource and sometimes supply the criteria
using the Filter Property. If I use the Filter Property rather than a
RecordSource returning just the values I want is there extra traffic
across the network to bring the unfiltered data to the front end?

Thanks,
James A. Fortune
Nov 13 '05 #1
1 1629

"James Fortune" <ja******@oakland.edu> wrote in message
news:a6*************************@posting.google.co m...
In order to get the records I want on a report I sometimes create a
SQL string for the RecordSource and sometimes supply the criteria
using the Filter Property. If I use the Filter Property rather than a
RecordSource returning just the values I want is there extra traffic
across the network to bring the unfiltered data to the front end?


I can't give you a definitive answer on this, but I have always thought that
was the case -- that the RecordSource determined what was retrieved and the
Filter determined which of those were displayed. I have observed enough
delay to be convinced on a split database on an older, slower network when
retrieving whole tables on Forms which could later be Filtered that it was
returning _more_ than a Query or SQL string that limited the records.

The caveat is this, unless the WHERE clause references an indexed field, it
will retrieve all the records anyway, because the selection is done on the
user's machine. If the data and the front-end are on the same machine, you
aren't going to see a significant difference unless you have a huge number
of records.

It is even more convincing when you have an Access client linked to tables
in a server database on a WAN, because the transmission of data across the
network is the major determination of performance in that case. Using SQL
with a WHERE clause allows the entire selection of records to be done on the
server.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1535
by: Simon Matthews | last post by:
Hope someone can help an Access beginner! I've just started keeping my surgical logbook on access and it's a simple flat-file affair. I have created several queries that will list cases...
9
2810
by: Downstreamer | last post by:
Design is as follows: A form for the user to input criteria to be used as the where part of the report's recordsource. This includes a multiselect list box as part of the criteria selection. ...
2
11400
by: John Smith | last post by:
How can I use a transparent command button to change a checkbox? I have my records set up in a continuous form and I want theuser to be able to click on the record and have this toggle the...
17
2530
by: Flic | last post by:
Is this possible? I know about a bit about ODBC and found how to import an ODBC database stored on the computer, however I am after accessing an SQL database stored on a webserver. I'd like to...
5
6470
by: Dave | last post by:
I need to filter an Access 2000 result set in ASP 30 using the ADO recordset.filter. I build the filter in pieces. The first clause of the filter is this... WHERE word LIKE 'S%' ... to...
3
2251
by: emgallagher | last post by:
I have a form which lists studies. People can filter the form based on details about the study, such as the study type. Currently users filter via the right click method. I would like to be...
7
7649
by: Marc Bartsch | last post by:
Hi, I have a background worker in my C# app that makes a synchronous HttpWebRequest.GetResponse() call. The idea is to POST a file to a server on the internet. When I call HttpWebRequest.Abort()...
2
4188
by: Matthew Wells | last post by:
Hi there. I am a programmer for a living, but this problem has my whole team stumped. I have a subform based on a query. I'm not using the "LinkMaster/ChildFields" properties ( I have my...
1
1763
by: mirandacascade | last post by:
Apologies in advance...I'm sure this is a trivial question... Access 97. Situation is this: 1. VBA code sets the recordsource property of a report object; the recordsource is a querydef which...
0
6998
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6884
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4586
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1416
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
651
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.