473,419 Members | 1,667 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,419 software developers and data experts.

Function is not available in expressions in query expression Error

Hello

A person developed a Microsoft Access Solution and gave me the MDE
file. When I tried to run it, I got "Function is not available in
expressions in query expression 'Trim([......" Error.

I learnt from the Microsoft Website and from this Group that this is
problem is the result of a mismatch between the Computer where this
database was developed and compiled on and the Computer where I am
trying to run it.

Is there a way to fix this issue without getting the original MDB
file?

Thank you.

Aug 28 '07 #1
5 6080
On Tue, 28 Aug 2007 13:37:18 -0000, el**************@gmail.com wrote:

If it happened at startup time it's most likely a Missing Reference
problem, and the way to find out which one is missing is to have the
MDB, look at a code window, and select Tools References.

You can write code to check for references at startup time, but that's
a somewhat advanced topic and apparently not done in your app.

-Tom.

>Hello

A person developed a Microsoft Access Solution and gave me the MDE
file. When I tried to run it, I got "Function is not available in
expressions in query expression 'Trim([......" Error.

I learnt from the Microsoft Website and from this Group that this is
problem is the result of a mismatch between the Computer where this
database was developed and compiled on and the Computer where I am
trying to run it.

Is there a way to fix this issue without getting the original MDB
file?

Thank you.
Aug 28 '07 #2
I have the below references checked, However, how can I know of any
other missing references? -Thanks

Visual Basic For Aplications
Microsoft Access 11.0 Object Library
OLE Automation
Microsoft DAO 3.6 Library
Microsoft ActiveX Data Objects 2.1 Library

-------------------------------------------------------------------------------------------------------------------------------------------------------------------
On Aug 28, 4:16 pm, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
On Tue, 28 Aug 2007 13:37:18 -0000, elie.constant...@gmail.com wrote:

If it happened at startup time it's most likely a Missing Reference
problem, and the way to find out which one is missing is to have the
MDB, look at a code window, and select Tools References.

You can write code to check for references at startup time, but that's
a somewhat advanced topic and apparently not done in your app.

-Tom.
Hello
A person developed a Microsoft Access Solution and gave me the MDE
file. When I tried to run it, I got "Function is not available in
expressions in query expression 'Trim([......" Error.
I learnt from the Microsoft Website and from this Group that this is
problem is the result of a mismatch between the Computer where this
database was developed and compiled on and the Computer where I am
trying to run it.
Is there a way to fix this issue without getting the original MDB
file?
Thank you.

Aug 28 '07 #3
On Tue, 28 Aug 2007 14:32:39 -0000, el**************@gmail.com wrote:

They would be marked as Missing in that same window.

It's unusual (though not illegal) to have both DAO and ADO selected.

Can you give us the entire SQL statement?

-Tom.
>I have the below references checked, However, how can I know of any
other missing references? -Thanks

Visual Basic For Aplications
Microsoft Access 11.0 Object Library
OLE Automation
Microsoft DAO 3.6 Library
Microsoft ActiveX Data Objects 2.1 Library

-------------------------------------------------------------------------------------------------------------------------------------------------------------------
On Aug 28, 4:16 pm, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
>On Tue, 28 Aug 2007 13:37:18 -0000, elie.constant...@gmail.com wrote:

If it happened at startup time it's most likely a Missing Reference
problem, and the way to find out which one is missing is to have the
MDB, look at a code window, and select Tools References.

You can write code to check for references at startup time, but that's
a somewhat advanced topic and apparently not done in your app.

-Tom.
>Hello
>A person developed a Microsoft Access Solution and gave me the MDE
file. When I tried to run it, I got "Function is not available in
expressions in query expression 'Trim([......" Error.
>I learnt from the Microsoft Website and from this Group that this is
problem is the result of a mismatch between the Computer where this
database was developed and compiled on and the Computer where I am
trying to run it.
>Is there a way to fix this issue without getting the original MDB
file?
>Thank you.
Aug 29 '07 #4
On Aug 29, 4:05 am, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
On Tue, 28 Aug 2007 14:32:39 -0000, elie.constant...@gmail.com wrote:

They would be marked as Missing in that same window.

It's unusual (though not illegal) to have both DAO and ADO selected.

Can you give us the entire SQL statement?

-Tom.
I have the below references checked, However, how can I know of any
other missing references? -Thanks
Visual Basic For Aplications
Microsoft Access 11.0 Object Library
OLE Automation
Microsoft DAO 3.6 Library
Microsoft ActiveX Data Objects 2.1 Library
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
On Aug 28, 4:16 pm, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
On Tue, 28 Aug 2007 13:37:18 -0000, elie.constant...@gmail.com wrote:
If it happened at startup time it's most likely a Missing Reference
problem, and the way to find out which one is missing is to have the
MDB, look at a code window, and select Tools References.
You can write code to check for references at startup time, but that's
a somewhat advanced topic and apparently not done in your app.
-Tom.
Hello
Hi Tom

I don't have the SQL Statement as it's an MDE file but I can see part
of it in the error message. it is: Function is not available in
expression in query expression 'TRIM([ContactFName] & " " &
[ContactMName] & " " & [ContactLName])

Regards
Elie
>
A person developed a Microsoft Access Solution and gave me the MDE
file. When I tried to run it, I got "Function is not available in
expressions in query expression 'Trim([......" Error.
I learnt from the Microsoft Website and from this Group that this is
problem is the result of a mismatch between the Computer where this
database was developed and compiled on and the Computer where I am
trying to run it.
Is there a way to fix this issue without getting the original MDB
file?
Thank you.

Aug 30 '07 #5
If you only have the MDE file, how have you checked to see what references
are checked? You can only do this, to my knowledge, by going into the code
window for any form in the db and opening References, which you can't do from
an MDE file. The only function showing in the error message is *Trim*, which
is part of the Visual Basic for Applications library.

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200708/1

Aug 30 '07 #6

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

Similar topics

3
by: domeceo | last post by:
can anyone tell me why I cannot pass values in a setTimeout function whenever I use this function it says "menu is undefined" after th alert. function imgOff(menu, num) { if (document.images) {...
8
by: Henk van Winkoop | last post by:
Hello, I debugged some html file and found this: ------------------------------------------------------------ <script language="JavaScript"> if ( some_statement ) { function MyFunction (...
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...
18
by: Steve | last post by:
Hi I have a really weird problem and any assistance would be welcome. I have developed an app in Access 2002. The app runs perfectly on the development machine. I have packaged the app using...
4
by: uspensky | last post by:
I have a table (cars) with 3 fields: VIN, Class, sell_price 101, sports, 10000 102, sports, 11000 103, luxury, 9000 104, sports, 11000 105, sports, 11000 106, luxury, 5000 107, sports, 11000
3
by: pw | last post by:
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( & ", " & )'. ...
4
by: alex | last post by:
I am so confused with these three concept,who can explained it?thanks so much? e.g. var f= new Function("x", "y", "return x * y"); function f(x,y){ return x*y } var f=function(x,y){
4
by: Tony Lownds | last post by:
(Note: PEPs in the 3xxx number range are intended for Python 3000) PEP: 3107 Title: Function Annotations Version: $Revision: 53169 $ Last-Modified: $Date: 2006-12-27 20:59:16 -0800 (Wed, 27 Dec...
2
by: deependrapathak | last post by:
Hi All, I am currently facing a crutial problem in Access2003 in Windows XP on just 3 PCs, the Application throws some of the errors specified below : 1. Error Number : 3075 Function is not...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.