lloydmav
Registered User.
- Local time
- Today, 03:33
- Joined
- Nov 15, 2002
- Messages
- 75
Hi,
Can anyone help me solve this issue.
I have a main table lets call it [product] which has a [created by] field and also a [modified by] field. I need to link both these fields to the same [employee] table and returns the surname for each.
I want to return all the records from the [product] table, and only the surname for a [created by] record when a there is a created by match, and also a surname for a modified by record when there is a match. Not all records have been modified and not employees still exist.
I have tried linking to the same table in a query twice, but that only brings back the created by surname for those records which also have a modified by match.
So I tried adding the same table into the query twice and then linking each one seperately. This will only work if I try to bring back only those records which match in both tables, but if I tell it to bring back all records from product table, and only those from other tables that match I get this message
"ambiguous column naming in select list #960"
This is really baffling me
Thanks
Can anyone help me solve this issue.
I have a main table lets call it [product] which has a [created by] field and also a [modified by] field. I need to link both these fields to the same [employee] table and returns the surname for each.
I want to return all the records from the [product] table, and only the surname for a [created by] record when a there is a created by match, and also a surname for a modified by record when there is a match. Not all records have been modified and not employees still exist.
I have tried linking to the same table in a query twice, but that only brings back the created by surname for those records which also have a modified by match.
So I tried adding the same table into the query twice and then linking each one seperately. This will only work if I try to bring back only those records which match in both tables, but if I tell it to bring back all records from product table, and only those from other tables that match I get this message
"ambiguous column naming in select list #960"
This is really baffling me
Thanks