#Name? error in Access form

Yeprem

New Member
Joined
Feb 24, 2012
Messages
2
Hello,

Hoping someone can help with my problem.

I have built a small database with 2 tables and 1 form. In the form, I am trying to concatenate 2 fields from the table which are also in the form. One of the fields is not visible in the form since I do not want anyone messing around with it.

When I concatenate the 2 fields by inputing =[Field1] & [Field2] in the Control source for the text box, the text appears fine until I close the database and re-open it. Once I re-open the DB, the filed displays #Name?.

I have checked the forms Record source and it is correct.
I have checked if the fileds show up in the existing fields window and they do.
I have double, triple-checked the field names in the control source and they are ok also.
I tried using =[TableName]![Field1] & [TableName]![Field2] also but that doesn't seem to make a difference either. Every time I re-open the DB, the error comes up.

Access Help is not helpful and Google returns junk when I include #Name? in the search. It just ignores the # and ? marks.

Does anyone have anything else I can try. If you need more info, I will provide anything you need.

Thanks in advance for any and all assistance.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Got it to work. The problem was I was renaming the unbound text field I was adding. It was messing up data linking somewhere.

The issue is resolved.
 
Upvote 0

Forum statistics

Threads
1,216,075
Messages
6,128,668
Members
449,463
Latest member
Jojomen56

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top