Function in query

  • Thread starter Thread starter HZ Tang
  • Start date Start date
H

HZ Tang

As mentioned below, I have the same problem.
But the Mid funtion is working on my personal pc. Only if
run the same query from other pc, then below problem will
happen. Any patch from microsoft I need to install ?
Is there anyone can help ? I am using MS 2000 Access.

Fwded Msg:
From: C Curry
Date: Yesterday 18:45
Subject: Function in query

-----------------------------------------------------------
---------------------
This problem is for Access97 running under Windows98.

I created the following column in a select query:

DivNumber:Mid([tArea].[AreaNumber],1,1)

I get the following error message when I try to run the
query:

Function isn't available in expressions in query
expression 'Mid([tArea].[AreaNumber],1,1)'.

This query is based on a table named tArea that has 2
columns:

AreaNumber - text, fieldsize=4
AreaName - text, fieldsize=50

I went into Help and they show examples using Left, Right,
and Mid functions in queries.

Anybody know why my example won't work?

Thanks to anyone who can help me.
 
As mentioned below, I have the same problem.
But the Mid funtion is working on my personal pc. Only if
run the same query from other pc, then below problem will
happen. Any patch from microsoft I need to install ?

This appears to be the very common References bug. Open any
module in design view, or open the VBA editor by typing
Ctrl-G. Select Tools... References from the menu. One of the
..DLL files required by Access will probably be marked
MISSING. Uncheck it, recheck it, close and open Access.

If none are MISSING, check any reference; close and open
Access; then uncheck it again. This will force Access to
relink the libraries.
 
Back
Top