M
Mark
I’m using an ODBC connection to SQL Server. I’m working with several reports
that have complicated record sources. Some I have rewritten into views and
saved on SQL Server. Others because they do not translate easily into T SQL I
have left as SQL statements in the reports record source. Both methods work.
My question is this: when a SQL statement is used as the record source with
an ODBC connection to SQL Server, does SQL Server send back only the records
requested or all the total records in the associated tables? The thin/thick
client question revisited. Which is better?
Here’s an example of a conditional Access SQL statement that works as a
record source but not as a view.
SELECT IIf(Left([CarrName],1)='A',"A " &
[CarrName],IIf(Left([CarrName],1)='B',"B " &
[CarrName],IIf(Left([CarrName],1)='C',"C " & [CarrName],"Not A,B, or C"))) AS
BeginLtr
FROM [dbo_Add Carrier Divisions];
Access 2002
SQL Server 2000?
Thanks for your help,
Mark
that have complicated record sources. Some I have rewritten into views and
saved on SQL Server. Others because they do not translate easily into T SQL I
have left as SQL statements in the reports record source. Both methods work.
My question is this: when a SQL statement is used as the record source with
an ODBC connection to SQL Server, does SQL Server send back only the records
requested or all the total records in the associated tables? The thin/thick
client question revisited. Which is better?
Here’s an example of a conditional Access SQL statement that works as a
record source but not as a view.
SELECT IIf(Left([CarrName],1)='A',"A " &
[CarrName],IIf(Left([CarrName],1)='B',"B " &
[CarrName],IIf(Left([CarrName],1)='C',"C " & [CarrName],"Not A,B, or C"))) AS
BeginLtr
FROM [dbo_Add Carrier Divisions];
Access 2002
SQL Server 2000?
Thanks for your help,
Mark