473,407 Members | 2,314 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,407 software developers and data experts.

Expression Builder causes # Error on =[MyField]

I'm fairly new to Access, let alone Expression Builder. However, it
seems that I'm either doing something really wrong or Access is really
stupid!

I can't reference fields that show up on my report! For example, if I
have a field named MyField on my report, the Control Source has the
value MyField, and it displays the values of MyField properly in the
report. If I try to use an expression as simple as =[MyField], it
fails! I get "# Error" instead of the value.

Am I doing something wrong??? Shouldn't that be a valid expression???
If I'm doing something wrong, please explain what and how I should do
it right.

Please help!

X_HOBBES

Nov 13 '05 #1
3 2026
If this text box is in the Detail section of the report, try changing its
Name as well. Access gets confused if the control has the same name as a
field, but is bound to somehing else.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"X_HOBBES" <x_******@hotmail.com> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
I'm fairly new to Access, let alone Expression Builder. However, it
seems that I'm either doing something really wrong or Access is really
stupid!

I can't reference fields that show up on my report! For example, if I
have a field named MyField on my report, the Control Source has the
value MyField, and it displays the values of MyField properly in the
report. If I try to use an expression as simple as =[MyField], it
fails! I get "# Error" instead of the value.

Am I doing something wrong??? Shouldn't that be a valid expression???
If I'm doing something wrong, please explain what and how I should do
it right.

Please help!

X_HOBBES

Nov 13 '05 #2
I found it ACCESS IS STUPID!

As it turns out, if you use the wizard to create a report, or drag
field onto the report, Access will return a "# Error" if you use an
expression. This will happen even if the text box was created
manually, if the field exists elsewhere on the report. In order to fix
this, you need to 1) Delete all occurences of the field on the report,
and 2) create the textbox by hand using the TextBox tool. Then if
you're really lucky, you might be able to use expressions for that text
box.

X_HOBBES

Nov 13 '05 #3
Thanks for the prompt response Allen. I really appreciate that. It's
very frustrating when certain products have bugs in them that go on for
years without repair -- MS tends to do that a lot.

X_HOBBES

Nov 13 '05 #4

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

Similar topics

3
by: Tom | last post by:
I have struggled with the issue of whether or not to use Regular Expressions for a long time now, and after implementing many text manipulating solutions both ways, I've found that writing...
3
by: Phil Powell | last post by:
'GET THE HTML CONTENT FOR DISPLAY BAND ORIGIN Dim bandOriginDropdown On Error Resume Next set scraper = Server.CreateObject("Microsoft.XMLHTTP") if err then bandOriginDropdown = "" else...
1
by: Grant Hammond | last post by:
I assume I'm not alone in my frustration that the expression builder that comes (in part) with Access XP that dosnt wrap text when you open it on an exisitng expression in a query or form. I's...
1
by: Laertes | last post by:
Hi, I want to use the expression builder in a query to define a field. I know how to do it for simple fields, like the one below : orderdate: IIf((IsNull() And =False) Or (<>"N/A" And...
2
by: Mike Turco | last post by:
I like using the expression builder for a lot of different things but it isn't always available when I want to use it, for example in the code window, or in all of the control properties. I am...
1
by: Don | last post by:
I'm trying to build a simple report. It will show debtors, budgeted amounts and how much was actually paid to those debtors. I've tried using the expression builder, though I've never used it...
2
by: Brian Kitt | last post by:
I have a process where I do some minimal reformating on a TAB delimited document to prepare for DTS load. This process has been running fine, but I recently made a change. I have a Full Text...
0
by: AlexanderTodorovic | last post by:
Hello Everyone, I'm developing a client application in which the users need an expression builder as provided in MS Access 2003. I would like to use the expression builder in a C# application....
3
by: rrosynek | last post by:
I have a 2003 Access Database with several tables related in a one to many relationship with a parent I am looking to build a report which evaluates if different users of the table have all entered...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.