Access question error

LAURA HAUG

New Member
Joined
Apr 7, 2003
Messages
4
Hello I have a report that keeps erroring on me. I have a relationship between two tables using only one link. This is the error I am getting when I try to run the report function.

The specified field 'County' could refer to more than one table listed in the From clause of your SQL statement.

Does anyone know what I need to correct to get this report to work. The funny thing is it work before and now it doesn't. I think someone changed something, however I am unsure what. :oops:
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hello Laura

It sounds like one of the fields on the report is called "County" and the variable "County" is present in both tables so the report is confused as to which "County" to use. If this is the case then you can rename the variable from [County] to [TableName].[County] in the report (right click "County" -> Properties -> Control Source) which may fix the problem.

NB : remember to use your actual table name and not "TableName"

If this is not the case, can you supply some additional details about the 2 tables, what fields are in the tables and which 2 fields are linked?

HTH, Andrew. :)
 
Upvote 0

Forum statistics

Threads
1,221,825
Messages
6,162,165
Members
451,750
Latest member
dofrancis

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