473,387 Members | 1,481 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.

I've been rolling out a database now for about 1.5 years...

MLH
Today, I rolled out mods to an mde I've been using for a
long time. I got an error saying
Error #3075
Function isn't available in expressions in query expression
UCase([SerialNum])

Here's the SQL ==it hasn't changed in about a year...
UPDATE tblVehicleJobs SET tblVehicleJobs.SerialNum =
UCase([SerialNum]), tblVehicleJobs.TagNum = UCase([TagNum]),
tblVehicleJobs.TagState = UCase([TagState]),
tblVehicleJobs.InspStickNum = UCase([InspStickNum]),
tblVehicleJobs.InspStickState = UCase([InspStickState]),
tblVehicleJobs.LocState = UCase([LocState]),
tblVehicleJobs.DMVFileNumber = UCase([DMVFileNumber]),
tblVehicleJobs.SaleType = UCase([SaleType]) WHERE
((tblVehicleJobs.SerialNum) Is Not Null) OR ((tblVehicleJobs.TagNum)
Is Not Null) OR ((tblVehicleJobs.TagState) Is Not Null) OR
((tblVehicleJobs.InspStickNum) Is Not Null) OR
((tblVehicleJobs.InspStickState) Is Not Null) OR
((tblVehicleJobs.LocState) Is Not Null) OR
((tblVehicleJobs.DMVFileNumber) Is Not Null) OR
((tblVehicleJobs.SaleType) Is Not Null);

Is it likely that my runtime installation has been screwed up?
It was working before I downloaded the data, put it in the new
mde and stuck it back out on the remote system. This happened
in two remote installations. Is this corruption?
Dec 18 '06 #1
3 1306
Try this:

Go into the VBA editor, click on Tool and then References. See if you
have any broken references. Sometimes broken references causes odd
messages like this.

-=Brian

MLH wrote:
Today, I rolled out mods to an mde I've been using for a
long time. I got an error saying
Error #3075
Function isn't available in expressions in query expression
UCase([SerialNum])

Here's the SQL ==it hasn't changed in about a year...
UPDATE tblVehicleJobs SET tblVehicleJobs.SerialNum =
UCase([SerialNum]), tblVehicleJobs.TagNum = UCase([TagNum]),
tblVehicleJobs.TagState = UCase([TagState]),
tblVehicleJobs.InspStickNum = UCase([InspStickNum]),
tblVehicleJobs.InspStickState = UCase([InspStickState]),
tblVehicleJobs.LocState = UCase([LocState]),
tblVehicleJobs.DMVFileNumber = UCase([DMVFileNumber]),
tblVehicleJobs.SaleType = UCase([SaleType]) WHERE
((tblVehicleJobs.SerialNum) Is Not Null) OR ((tblVehicleJobs.TagNum)
Is Not Null) OR ((tblVehicleJobs.TagState) Is Not Null) OR
((tblVehicleJobs.InspStickNum) Is Not Null) OR
((tblVehicleJobs.InspStickState) Is Not Null) OR
((tblVehicleJobs.LocState) Is Not Null) OR
((tblVehicleJobs.DMVFileNumber) Is Not Null) OR
((tblVehicleJobs.SaleType) Is Not Null);

Is it likely that my runtime installation has been screwed up?
It was working before I downloaded the data, put it in the new
mde and stuck it back out on the remote system. This happened
in two remote installations. Is this corruption?
Dec 18 '06 #2
MLH
That's exactly what it was. This same problem
has bit me in the ass twice in the past several
months. Its just so non-descript, the error msgs.
I'll just have to remember to check the ref's.
Dec 18 '06 #3
Hi,

Where is this running from? A standard access query? or From a VB code?

Something is not right. "tblVehicleJobs.SerialNum = UCase([SerialNum])"

Trying to Update from the same table? Doesn't appear normalize to me.

If you run the code in VB, use the Debug.Print strSQL, than look at the
syntax in the immeadiate window.
>MLH wrote:
Today, I rolled out mods to an mde I've been using for a
long time. I got an error saying
Error #3075
Function isn't available in expressions in query expression
UCase([SerialNum])

Here's the SQL ==it hasn't changed in about a year...
UPDATE tblVehicleJobs SET tblVehicleJobs.SerialNum =
UCase([SerialNum]), tblVehicleJobs.TagNum = UCase([TagNum]),
tblVehicleJobs.TagState = UCase([TagState]),
tblVehicleJobs.InspStickNum = UCase([InspStickNum]),
tblVehicleJobs.InspStickState = UCase([InspStickState]),
tblVehicleJobs.LocState = UCase([LocState]),
tblVehicleJobs.DMVFileNumber = UCase([DMVFileNumber]),
tblVehicleJobs.SaleType = UCase([SaleType]) WHERE
((tblVehicleJobs.SerialNum) Is Not Null) OR ((tblVehicleJobs.TagNum)
Is Not Null) OR ((tblVehicleJobs.TagState) Is Not Null) OR
((tblVehicleJobs.InspStickNum) Is Not Null) OR
((tblVehicleJobs.InspStickState) Is Not Null) OR
((tblVehicleJobs.LocState) Is Not Null) OR
((tblVehicleJobs.DMVFileNumber) Is Not Null) OR
((tblVehicleJobs.SaleType) Is Not Null);
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200612/1

Dec 18 '06 #4

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

Similar topics

3
by: DB2 Convert | last post by:
Hi, Correct me if I am wrong? Why should I specify at the restore statement such as Restore Database ABC ... "WITHOUT ROLLING FOWARD"? My understand is when I am using circular logging,...
3
by: db2group88 | last post by:
we are using db2 udb v8.2 on windows. All our tables are created with "not logged initially" parameter. Our application with auto commit on. I would like to do an online backup and rolling forward...
4
by: david.monaghan | last post by:
I have a table with the following fields - Location, Manager, CostCentre, Month and Headcount. What I am trying to do is a monthly rolling average headcount by Location, Manager, CostCentre. To...
101
by: Elijah Cardon | last post by:
Let's say I have m dice having n sides, such that n^m is not going to bust int as a datatype. With m=4 and n=6, an outcome might be {2, 5, 1, 2}. What is a good way to represent this in c so that...
45
by: Master Programmer | last post by:
- Constant language / system changes - Dropping of the VB language - Security configuation minefields - Loss of old code base - Time consuming to learn (then it changes every 5 minutes) - Slow...
17
by: Jose Durazo | last post by:
Hello, I'm doing an exercise to simulate rolling a pair of dice 36,000 times, then count and display how many times the simulation rolls each possible sum. For some reason each time I run my...
2
by: Bill | last post by:
I have a 200 record database that includes a date/time field, AnnivDate, for a wedding anniversary. AnnivDate has nulls and some incorrect year data. I have been creating the Access database...
2
by: BurtonBach | last post by:
I have a small database that mostly keeps track of material quantities going into jobs we do. I have been able to make this work well for me. I now want to add the tracking of a rolling balance of...
8
by: valentin tihomirov | last post by:
Once file is open, it should be closed: Stream fs = new FileStream(filename, FileMode.Create); try { // write, exceptions may raise here } finally { fs.Close(); }
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: 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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
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...

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.