ambiguous name. in query expression

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hello,

i wrote expression in query and i work fine.

when i import this query to another (but the same) application

it gives me the error statment above.

what can be the reason ?
 
thank you !

yes,

but it work in other (the same ) application.

if i try to change the name (one of them)

the query (based on mudole function) doesnt work.

thanks
 
hello,

i wrote expression in query and i work fine.

when i import this query to another (but the same) application

it gives me the error statment above.

what can be the reason ?

If you use the same fieldname twice, you MUST explicitly name the table: put
[tablename].[fieldname] wherever you refer to the field, so Access can tell
which table's field you mean.

It's also a good idea to define an Alias name: in the query grid put

NewName: [tablename].[fieldname]

where NewName is some name not used elsewhere in the query.

John W. Vinson [MVP]
 
thank you john !!!
--
תודה רבה


John W. Vinson said:
hello,

i wrote expression in query and i work fine.

when i import this query to another (but the same) application

it gives me the error statment above.

what can be the reason ?

If you use the same fieldname twice, you MUST explicitly name the table: put
[tablename].[fieldname] wherever you refer to the field, so Access can tell
which table's field you mean.

It's also a good idea to define an Alias name: in the query grid put

NewName: [tablename].[fieldname]

where NewName is some name not used elsewhere in the query.

John W. Vinson [MVP]
 

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

Similar Threads


Back
Top