By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,616 Members | 1,219 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,616 IT Pros & Developers. It's quick & easy.

#Name? error message in Access Form

P: 3
#Name? error message in Access Form

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...
Jul 26 '07 #1
Share this Question
Share on Google+
4 Replies

Expert Mod 10K+
P: 12,441
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

P: 3
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

Expert 100+
P: 1,206
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

Expert Mod 10K+
P: 12,441
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.