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

#Name? Error... trying to link two fields in same form

I'm not sure if this is some random bug in the system, but I keep
getting the #Name? error on one of my forms when I try to link one
field to another. For example, I have one field called txtTrialField
which = date(). I then have a second field which =[txtTrialField]. For
reasons beyond me, it comes up with the above error. I'm actually
trying to make something a little more complicated but after an hour of
frustration, I reduced it down to this simple problem.

I swear it was working earlier in the day and the same arrangement
works on other forms. Does anyone have any idea why it would not work
on my current form??

Grrr :(

Cheers

Reg

Jan 3 '06 #1
3 2968
What you are trying to do should work.

Try changing the Name of your text box. Access gets confused if it has the
same name as a field in the form's RecordSource, but it is bound to an
expression.

If that does not solve the problem, try unchecking the Name AutoCorrect
boxes under:
Tools | Options | General
Then compact the database.
Explanation of why:
http://allenbrowne.com/bug-03.html

--
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.

"Regnab" <p.*******@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
I'm not sure if this is some random bug in the system, but I keep
getting the #Name? error on one of my forms when I try to link one
field to another. For example, I have one field called txtTrialField
which = date(). I then have a second field which =[txtTrialField]. For
reasons beyond me, it comes up with the above error. I'm actually
trying to make something a little more complicated but after an hour of
frustration, I reduced it down to this simple problem.

I swear it was working earlier in the day and the same arrangement
works on other forms. Does anyone have any idea why it would not work
on my current form??

Grrr :(

Cheers

Reg

Jan 3 '06 #2
Thanks for your response Allen. Tried both things you suggested and it
still wouldn't work. It's hard to know for sure what the problem is -
I'm actually fixing up a database for a fella that didn't use naming
conventions etc so there could easily be some clashes that I'm not
aware of.

I ended up taking another copy of the original database and pasted my
text boxes with code into the same form in his other database and it
works fine. So while its certaintly not a pretty solution, it seems to
work.....

Thanks again - and I'll be happy to try other changes if you have any
other ideas because I would like to know what the glitch was.

Thanks again,

Reg

Jan 3 '06 #3
That's a fair enough solution.

Could have been a corruption. SaveAsText/LoadFromText could achieve the same
result, but your approach is as good as any.

--
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.

"Regnab" <p.*******@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Thanks for your response Allen. Tried both things you suggested and it
still wouldn't work. It's hard to know for sure what the problem is -
I'm actually fixing up a database for a fella that didn't use naming
conventions etc so there could easily be some clashes that I'm not
aware of.

I ended up taking another copy of the original database and pasted my
text boxes with code into the same form in his other database and it
works fine. So while its certaintly not a pretty solution, it seems to
work.....

Thanks again - and I'll be happy to try other changes if you have any
other ideas because I would like to know what the glitch was.

Thanks again,

Reg

Jan 3 '06 #4

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

Similar topics

1
by: mark.reichman | last post by:
First off.. Thanks to Grant Wagner for help in a previous thread related to this one. I am at a total loss... I have multiple fields in a form with the same name. Lets call the fields with the...
1
by: Ronaldo N | last post by:
I'm trying to do some javascript form validation and I've discovered a rather difficult situation to handle with IE. Let's say there's a form with three input fields named "name", "method", or...
2
by: Jeff | last post by:
I'm trying to create a dynamic form that can have multiple groups of radio buttons (each group has two buttons) with the same name. Essentially, the form allows a user to enter as many names as...
7
by: Christopher J. Hahn | last post by:
I'm trying to use a script-generated form to submit to a script-generated iframe. The problem I'm running into is that the iframe is not assuming the name I assign it. IE6 on Win2000. FF1.0.2+...
3
by: Michael | last post by:
Hello again everyone, Hope you can help. I have a form with a lot of code going on in the background but I can't find the route cause of the following error message. Update or Cancel Update...
5
by: Sami | last post by:
Please bear with me, and if you answer this question, please do it step by step. I am new at Access, not at all sophisticated. I am using Office XP. This will need to be read in Access for...
2
by: Michelle | last post by:
Hi all I have used knowledge base article 112747 to improve my subforms performance. I am using Access 97. I have a main form where i put an extra textbox which concatenated TeamID WeekNum...
5
by: Jay | last post by:
error '80040211' /register.asp, line 71 I receive this error when i attempt to send an email. My code is as follows:
11
by: kennthompson | last post by:
Trouble passing mysql table name in php. If I use an existing table name already defined everything works fine as the following script illustrates. <?php function fms_get_info() { $result =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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...
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,...

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.