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

Question on Error Message

I have a database that I going to use for tracking expenses/income. I've
used functions and other things I've learned here. Anyway all went well,
everything works very nicely. As I was building this database I kept it on
my desktop and when I was satisfied it was working correctly I moved it to a
folder in windows explorer.
When I click on any of the command buttons that are linked to a crosstab
query I get a message that says, "Undefined function "Format" in expression.
I get the same message when I try to open any of the crosstab queries.
I thought I'd work on it so I made a copy of the database (from the folder
in windows explorer) and pasted it on my desktop. However it now works fine
when I access the copy from my desktop.
Any idea what causes the Undefined function "Format" in expression error?

Thanks,
Don...........
Nov 13 '05 #1
2 1663
On Fri, 30 Sep 2005 10:12:03 GMT, "Don Sealer" <vz******@verizon.net>
wrote:

You're saying both folders were on the SAME machine? That's very
unusual. Typically this is caused by a broken reference, but that most
often occurs when the app is moved from one machine to another.
Still, it's worth compiling the app to see if there are any problems
(Code window / Debug / Compile), and to review the references (code
window / Tools / References)

-Tom.
I have a database that I going to use for tracking expenses/income. I've
used functions and other things I've learned here. Anyway all went well,
everything works very nicely. As I was building this database I kept it on
my desktop and when I was satisfied it was working correctly I moved it to a
folder in windows explorer.
When I click on any of the command buttons that are linked to a crosstab
query I get a message that says, "Undefined function "Format" in expression.
I get the same message when I try to open any of the crosstab queries.
I thought I'd work on it so I made a copy of the database (from the folder
in windows explorer) and pasted it on my desktop. However it now works fine
when I access the copy from my desktop.
Any idea what causes the Undefined function "Format" in expression error?

Thanks,
Don...........


Nov 13 '05 #2
Tom,
Thanks for your reply. Yes it's the same machine. I started building this
database and had the file on my desktop. After I was finished building it
and certain everything worked I cut and pasted the database to a folder
within Windows Explorer. I put a shortcut on my quick menu toolbar. I
entered some data and everything seemed fine. However when I clicked on any
of my "command buttons" to view a report I got that error message. I then
just made a copy of the same database, from the folder within Windows
Explorer, and pasted it back on my desktop (because I was going to try and
figure out why it was not working). When I opened the copied version on my
desktop "everything" worked as it was supposed to, thus my post to the BB.
Well once again I see how much of an armature I really am. I know nothing
about the features within Access. Your suggestion to debug and compile
worked!! It found a piece of code that wasn't valid. The reference check
box came up, I unchecked the code and everything is back to normal. At one
point while I was building the database I tried to use a "button painter".
I couldn't figure out how to make the button painter work so I thought I got
rid of it. Apparently I missed something.
Thanks so much for your help and advice,
Don..............
"Tom van Stiphout" <no*************@cox.net> wrote in message
news:qv********************************@4ax.com...
On Fri, 30 Sep 2005 10:12:03 GMT, "Don Sealer" <vz******@verizon.net>
wrote:

You're saying both folders were on the SAME machine? That's very
unusual. Typically this is caused by a broken reference, but that most
often occurs when the app is moved from one machine to another.
Still, it's worth compiling the app to see if there are any problems
(Code window / Debug / Compile), and to review the references (code
window / Tools / References)

-Tom.
I have a database that I going to use for tracking expenses/income. I've
used functions and other things I've learned here. Anyway all went well,
everything works very nicely. As I was building this database I kept it onmy desktop and when I was satisfied it was working correctly I moved it to afolder in windows explorer.
When I click on any of the command buttons that are linked to a crosstab
query I get a message that says, "Undefined function "Format" in expression.I get the same message when I try to open any of the crosstab queries.
I thought I'd work on it so I made a copy of the database (from the folderin windows explorer) and pasted it on my desktop. However it now works finewhen I access the copy from my desktop.
Any idea what causes the Undefined function "Format" in expression error?

Thanks,
Don...........

Nov 13 '05 #3

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

Similar topics

3
by: Samuel | last post by:
I wrote a very simple httpmodule and tried to compile it with no success. This is my code: ============== Imports System Imports System.Web Imports Microsoft.VisualBasic NameSpace...
3
by: Chris | last post by:
Hi My application reads writes/messages from a socket. It contains inbound and outbound std::queue<Message*> queues. I have a base Message and derived classes eg LoginMessage (outbound),...
3
by: Tcs | last post by:
My backend is DB2 on our AS/400. While I do HAVE DB2 PE for my PC, I haven't loaded it yet. I'm still using MS Access. And no, I don't believe this is an Access question. (But who knows? I...
5
by: Marge Inoferror | last post by:
Well, 2 questions, actually... I get an error when my form's window gets covered by another window. I can resize sucessfully all day, but when the window is covered by another window - it bombs ...
5
by: John | last post by:
Hi, I have an asp.net form where if the user enters an incorect date I change the color of the textbox to red and also display a label field with a message saying the date is invalid. What I...
3
by: Ken H | last post by:
Hi I have a question about architecting solutions.. I have a part of a project which requires me to track person details (name, addresses, etc... Should I be creating Person objects, Address...
7
by: Tiraman | last post by:
Hi , I am using allot the try catch in my code and the question is if it is good ? it will decrease my performance ? one more question
14
by: Mr Newbie | last post by:
I am often in the situation where I want to act on the result of a function, but a simple boolean is not enough. For example, I may have a function called isAuthorised ( User, Action ) as ?????...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
20
by: fniles | last post by:
I am using VS2003 and connecting to MS Access database. When using a connection pooling (every time I open the OLEDBCONNECTION I use the exact matching connection string), 1. how can I know how...
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
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...

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.