Re: Problem updating query
From: Richard (Richard_at_discussions.microsoft.com)
Date: 01/02/05
- Next message: Ravi: "Query taking too long"
- Previous message: Jeff Boyce: "Re: How can I query the top 100 customers only?"
- In reply to: John Vinson: "Re: Problem updating query"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 2 Jan 2005 13:11:05 -0800
Thanks for your advice - which fixed the issue & with regard to the links. I
will have to think about changing them...
Best wishes
Richard
"John Vinson" wrote:
> On Fri, 31 Dec 2004 06:55:02 -0800, "Richard"
> <Richard@discussions.microsoft.com> wrote:
>
> >Hi,
> >
> >I have a problem updating a query that calls fields from two tables - lined
> >on a common field. If I remove one of the tables, I can update the query.
> >
> >Could you please advise how I can change the SQL so that it allows me to
> >update the query. Here is the query in SQL view:
> >
> >SELECT [Transaction Log].[Property Address], [Transaction Log].[Transaction
> >Date], [Transaction Log].[Description of Transaction], [Transaction
> >Log].[Withdrwawal Amount], [Transaction Log].[Deposit Amount], [Transaction
> >Log].ID, [Transaction Log].[Vendor ID], [Transaction Log].[Contract ID],
> >[Transaction Log].[Capital Purchase], [Transaction Log].VAT,
> >Landlords.[Landlord Name]
> >FROM [Transaction Log] LEFT JOIN Landlords ON [Transaction Log].[Property
> >Address] = Landlords.[Property Address]
> >ORDER BY [Transaction Log].[Transaction Date];
>
> As Sylvain says, the Join is the likely source of the problem. This
> will be updateable only if there is a unique Index on the [Property
> Address] field.
>
> For what it's worth, I would be very dubious about using an address as
> a joining field! Unless you maintain strict (downright intrusive) data
> entry control, you'll risk missing links (312 W. Main St. is not a
> match to 312 W Main St. for example).
>
>
> John W. Vinson[MVP]
>
- Next message: Ravi: "Query taking too long"
- Previous message: Jeff Boyce: "Re: How can I query the top 100 customers only?"
- In reply to: John Vinson: "Re: Problem updating query"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|