473,387 Members | 3,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Access 2003: Function is not available in expressions in query expression 'Trim([city] & ", " & [stateorprovince])'.

pw
Hi,

I created and distributed an Access 2003 MDE. When the user opens up
a form he get's an error message :Function is not available in
expressions in query expression 'Trim([city] & ", " &
[stateorprovince])'.

It works fine at other clients.

How can I resolve this? I do not see anything in the MS KB.

-pw

use paul at williamsonenterprises dot com for e-mail
Apr 5 '06 #1
3 11875
Paul,

This is a references issue.

Have the user hit ctrl-g and then tools|references. Then do a comparo
with the references you've got set.

Jeremy

pw wrote:
Hi,

I created and distributed an Access 2003 MDE. When the user opens up
a form he get's an error message :Function is not available in
expressions in query expression 'Trim([city] & ", " &
[stateorprovince])'.

It works fine at other clients.

How can I resolve this? I do not see anything in the MS KB.

-pw

use paul at williamsonenterprises dot com for e-mail


Apr 5 '06 #2
pw
On 4 Apr 2006 17:14:21 -0700, "Jeremy Wallace"
<je************@gmail.com> wrote:
Paul,

This is a references issue.

Have the user hit ctrl-g and then tools|references. Then do a comparo
with the references you've got set.

Geesh! I didn't it was possible to use Ctrl-G with and MDE file! Phew,
looks like you can't view code or references.

What is was Jeremy is that my wife included a reference to the
snapshot viewer. I removed it and created a new mde and sent it off
to them and it worked. I bet they didn't have Office installed.

I thought when creating a distributable product that the program would
include everything needed.

-paul

Jeremy

pw wrote:
Hi,

I created and distributed an Access 2003 MDE. When the user opens up
a form he get's an error message :Function is not available in
expressions in query expression 'Trim([city] & ", " &
[stateorprovince])'.

It works fine at other clients.

How can I resolve this? I do not see anything in the MS KB.

-pw

use paul at williamsonenterprises dot com for e-mail

-pw

use paul at williamsonenterprises dot com for e-mail
Apr 5 '06 #3
To resolve this problem:
- write our own Trim function like:

Public Function MyTrim (MyString as String)
MyTrim=Trim(MyString)
End Function

And use your MyTrim not standard Trim in your queries.

That is all !!!

Apr 5 '06 #4

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

Similar topics

0
by: s_gregory | last post by:
The mdb is considerable size 70 +- mb. A complex union query was working well, but when an additional union select... was added into the query, selecting identical fields from a different source,...
5
by: deko | last post by:
After developing an MDB in Access 2003 on WS03, then making it into an MDE and deploying it on a WinXP box with Access 2003 installed, I get this error: Function is not available in expressions...
9
by: Steve Jorgensen | last post by:
Hi all, Frankly, this is such an off-beat thing, I don't know if anyone else here will ever have the same issue. Just in case anyone does, though... I needed to be able to search for the...
2
by: John Dalberg | last post by:
How does this product fit in the scheme of developing ASP.NET 2.0 websites? Does it compliment Visual Web Developer 2005 Express? Expected release time frame? ...
6
by: John Wells | last post by:
Guys, My boss has been keeping himself busy reading MySQL marketing pubs, and came at me with a few questions this morning regarding PostgreSQL features (we're currently moving to PostgreSQL). ...
9
by: Neil | last post by:
We have an Access 2000 MDB with a SQL 7 back end. We are upgrading SQL Server to SQL 2005, and are considering upgrading to Access 2003. Someone mentioned that they had heard about some...
0
by: jayohare | last post by:
Hello, I have code within my DB application to process credit cards through authorize.net. Ive been using the same code for several years without a problem. I have an order entry computer and...
6
by: Lighter | last post by:
How to read "The lvalue-to-rvalue, array-to-pointer, and function-to- pointer standard conversionsare not applied to the left expressions"? In 5.18 Comma operator of the C++ standard, there is a...
4
by: dougmeece | last post by:
Hello everyone, I have created a search button but I receive the message "Microsoft Access can't fine the field "|" referred to in your expression" when I try to use it. I have looked online for...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...

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.