V
Van T. Dinh
Sorry. Didn't see the last sentence.
It is certainly a lot more efficient if you use Pass-
Through Query or the SQL Server View. However, you will
need to test the SQL String of the Pass-Through Query /
View in the Query Analyzer.
It is unlikely the SQL String I posted will work as a Pass-
Through Query or View as CStr() is an Access VBA function
and probably not SQL Server function. You will probably
need to use SQL Server functions Cast() or Convert() in
Pass-Through Query or View.
HTH
Van T. Dinh
MVP (Access)
It is certainly a lot more efficient if you use Pass-
Through Query or the SQL Server View. However, you will
need to test the SQL String of the Pass-Through Query /
View in the Query Analyzer.
It is unlikely the SQL String I posted will work as a Pass-
Through Query or View as CStr() is an Access VBA function
and probably not SQL Server function. You will probably
need to use SQL Server functions Cast() or Convert() in
Pass-Through Query or View.
HTH
Van T. Dinh
MVP (Access)