Re: SQL Code that is submitted to server changes when run on different clients
- From: Philipp Stiefel <phil@xxxxxxxxxxxxxxx>
- Date: Sat, 14 May 2005 16:55:00 +0200
"Dale" <DaleDeWitt@xxxxxxxxx> wrote:
> Yes, both clients are running the same MDAC version.... I dont see any
> broken references..... I am stumped. I have taken the same UDF and
> created a quick report, and It works on the other client. The only
> difference that I can see is that in the other reports, I use the
> "TRIM" command to get rid of spaces, when I concatenate address fields
> together, for formatting. Where does the "TRIM"Command reside ?? Is
> that in an external reference of some kind ??
The Trim-Function resides in the VBA-Library (VBE6.DLL). While
there may be problems with references and TRIM
(see http://www.mvps.org/access/bugs/bugs0001.htm) I don't think
that this is the reason for this problem.
Nevertheless you may as well remove the spaces in you UDF on the
server (use LTrim + RTrim there) and get rid of the client-side
TRIM.
What about my suggestion to use "SELECT * FROM dbo.yourUDF()"?
Cheers
Phil
--
Access FAQs: http://www.mvps.org/faq/mvp_faq_links.htm#Access
.
- References:
- Prev by Date: RecordCount Not Counting Correctly
- Next by Date: test
- Previous by thread: Re: SQL Code that is submitted to server changes when run on different clients
- Next by thread: kirkmont001@bytefocus.com
- Index(es):
Relevant Pages
|