473,473 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Very odd new error message in A2K3 app

Hi Folks,

We have a user who is suddenly getting the following error message
when they start our very mature application. Other users of the same
version are NOT getting this error:

"Error 3075 - Function is not available in expressions in query
expression 'Trim([tblProspects]![email])' "

I believe that this function comes from the DAO 3.6 library.

Anyone have a clue how we can fix this problem?

Thanks for all responses gentlemen,

-- LW
Mar 16 '06 #1
5 1416
The TRIM function comes from the VBA library, by
way of the Jet database engine.

If your user is getting this message while using
MS Access, then you have a 'references' problem.

Open the database in Access, open a code module,
and check Tools, References.

(david)

"Lauren Wilson" <no****@nospam.com> wrote in message
news:21********************************@4ax.com...
Hi Folks,

We have a user who is suddenly getting the following error message
when they start our very mature application. Other users of the same
version are NOT getting this error:

"Error 3075 - Function is not available in expressions in query
expression 'Trim([tblProspects]![email])' "

I believe that this function comes from the DAO 3.6 library.

Anyone have a clue how we can fix this problem?

Thanks for all responses gentlemen,

-- LW

Mar 17 '06 #2
If its not a references problem you may be trying to use direct
references to database objects in an SQL query somewhere which is one
thing you cant do in A2003 but you can in previous versions. The
workaround is to have the query call a VBA function you define which
then goes and accesses the form field or whatever.

James

Mar 17 '06 #3
Thanks David. You are correct (as usual). It's been so long since
we've had this error that I forgot about the cause. I'm really dense
sometimes. I should have figured this out on my own.

We modified our update installer to include the WMI Scripting lib and
the problem went away after update.

Your contributions to this group are very much appreciated.

Live long and prosper!

-- LW
On Fri, 17 Mar 2006 13:30:51 +1100, "david epsom dot com dot au"
<david@epsomdotcomdotau> wrote:
The TRIM function comes from the VBA library, by
way of the Jet database engine.

If your user is getting this message while using
MS Access, then you have a 'references' problem.

Open the database in Access, open a code module,
and check Tools, References.

(david)

"Lauren Wilson" <no****@nospam.com> wrote in message
news:21********************************@4ax.com.. .
Hi Folks,

We have a user who is suddenly getting the following error message
when they start our very mature application. Other users of the same
version are NOT getting this error:

"Error 3075 - Function is not available in expressions in query
expression 'Trim([tblProspects]![email])' "

I believe that this function comes from the DAO 3.6 library.

Anyone have a clue how we can fix this problem?

Thanks for all responses gentlemen,

-- LW

Mar 17 '06 #4

Interesting! In THIS case, this was not the cause, but thanks for
your kind effort.

On 17 Mar 2006 05:02:59 -0800, "James" <ji****@hotmail.com> wrote:
If its not a references problem you may be trying to use direct
references to database objects in an SQL query somewhere which is one
thing you cant do in A2003 but you can in previous versions. The
workaround is to have the query call a VBA function you define which
then goes and accesses the form field or whatever.

James

Mar 17 '06 #5
Bri
On 17 Mar 2006 05:02:59 -0800, "James" <ji****@hotmail.com> wrote:

If its not a references problem you may be trying to use direct
references to database objects in an SQL query somewhere which is one
thing you cant do in A2003 but you can in previous versions. The
workaround is to have the query call a VBA function you define which
then goes and accesses the form field or whatever.

James


Are you talking about this:

SELECT myTable.* FROM myTable WHERE TableID=Forms!myForm!SelectAnID

This works fine in AC2003, AK2k, AC97.

--
Bri

Mar 17 '06 #6

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

Similar topics

0
by: Tim Marshall | last post by:
Over the years since the introduction of "the monolithic save" in A2K, I've seen much discussion on it. But I'm not sure exactly what is happening in A2K3. When I save in the Access window, I...
6
by: Tim Marshall | last post by:
Here's the situation. A form, frmSetUp, with a subform control called subExplain with a source object form frmSetUpSubDefineSides. The source object is a bound form, displaying a few records, no...
19
by: David W. Fenton | last post by:
I'm setting up a project for a client on a new Windows Terminal Server. The application is currently in A2K, but the sysadmin does not want to install that, he wants to install A2K3, because Office...
2
by: Keith | last post by:
A2k3 Win XP Pro. I have a BE on a Win 2003 server which started giving the above error this morning. Now I can't connect to it at all. This behaviour is limited to one folder on the server, I...
4
by: Keith | last post by:
Apologies in advance, I know that this has been asked before but I'm hoping someone has a quick and concise answer. My PC runs XP Pro SP2 with Office 2003 Pro. One of my clients runs A2000 and...
7
by: Keith Wilby | last post by:
In an old A97 app I trap for error 2501 in a report's calling code just in case there are no records to return (set cancel = True in the report's No Data event). This doesn't seem to work in my...
8
by: rdemyan via AccessMonster.com | last post by:
In 12 months of working on my app, I have never had a corruption problem with the backends, often with the front end but never the backends. So, of course, now that I'm planning to roll a new...
13
by: Arno R | last post by:
Hi all, I am deploying an A2k app to users with different versions of Access. Using Access 2000 the relinking on startup (on deploying a new frontend or when backend has changed) is very fast....
7
by: Jan | last post by:
Hi: When I searched the newsgroup for this problem, I saw two or three instances of the question being asked, but it was never answered. Not too promising, but here goes: I have a form with...
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.