472,096 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,096 software developers and data experts.

#Name? error message in Access Form

#Name? error message in Access Form
--------------------------------------------------------------------------------

Hello
I have created a simple database with 4 tables (all the same fields in each table). I then created a form and copied it 3 times (renaming the forms according to the table names). I changed the recource source in each form to reflect the corresponding table but now in some of the fields (in the copied forms) I am getting a #Name? message in a couple of the fields.

Any help would be great...
thanks
:)
Jul 26 '07 #1
4 47309
Rabbit
12,516 Expert Mod 8TB
It probably means your field names from your record source don't match up with the control source property of the controls on the form.
Jul 26 '07 #2
ok, I just copied the original form (ie. table09 goes with form09 and then I copied form09 3 times and renamed them form10, form 11, form12...there is data in each of the tables (table 9, table10, table11, table12) that shows up in the corresponding forms, but how do I get the fields to match up? I am somewhat clueless (as you can tell) when creating anything in access and that is why I copied the form three times so I wouldn't have to redesign it each time)

thanks so much
Jul 26 '07 #3
JKing
1,206 Expert 1GB
First I suggest checking the record source for each form. Open up the form properties and make sure you have the right table set for each form. For example Form9 should be set as table9, form10 set as table10. Once this is done open the properties for any textboxes that are giving you a #name error. There is drop down for the control source property. Select the proper field name from the list. This should get rid of any errors you have.
Jul 26 '07 #4
Rabbit
12,516 Expert Mod 8TB
If the tables have different field names, then the controls on the form that reference those field names will be wrong because they're using the field names from the original form. You have to change the control source property of the control to reflect the field names in the table.
Jul 26 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

8 posts views Thread by Shino | last post: by
8 posts views Thread by Steve | last post: by
4 posts views Thread by Don Wash | last post: by
reply views Thread by leo001 | last post: by

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.