Same field name in two tables

C

cluckers

I am running a query that utilizes two joined table. One of the fields for my
query is Left([ACCT_NBR] ,3) AS Prefix. The problem is that both tables
have a field called [ACCT_NBR]. How do I designate which table it is coming
from. thanks
 
K

KenSheridan via AccessMonster.com

Qualify it with the table name:

Left([TheTableNameGoesHere].[ACCT_NBR] ,3)

Ken Sheridan
Stafford, England
I am running a query that utilizes two joined table. One of the fields for my
query is Left([ACCT_NBR] ,3) AS Prefix. The problem is that both tables
have a field called [ACCT_NBR]. How do I designate which table it is coming
from. thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top