Re: Form not allowing entry
From: Aaron Howe (anonymous_at_discussions.microsoft.com)
Date: 01/12/05
- Next message: Wayne Morgan: "Re: save value of unbound text box to a table"
- Previous message: Daiuy: "save value of unbound text box to a table"
- In reply to: Brian: "Re: Form not allowing entry"
- Next in thread: Brian: "Re: Form not allowing entry"
- Reply: Brian: "Re: Form not allowing entry"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 12 Jan 2005 03:05:43 -0800
>-----Original Message-----
>"Aaron Howe" <anonymous@discussions.microsoft.com> wrote
in message
>news:1e9201c4f887$26e064d0$a501280a@phx.gbl...
>>
>> I've been through and looked at all the joins etc and as
>> far as I can see, there are no glaring issues...
>>
>> Here's the SQL:
>>
>> SELECT tblSuppliers.AgName, tblXInvs.XInv,
>> tblAgInvs.CltName, tblXInvs.AgInv, tblXInvs.ClrDate,
>> tblAgInvs.Value, tblAgInvs.WE
>> FROM tblSuppliers INNER JOIN (tblAgInvs INNER JOIN
>> tblXInvs ON tblAgInvs.AgInv = tblXInvs.AgInv) ON
>> tblSuppliers.AgName = tblAgInvs.AgName
>> GROUP BY tblSuppliers.AgName, tblXInvs.XInv,
>> tblAgInvs.CltName, tblXInvs.AgInv, tblXInvs.ClrDate,
>> tblAgInvs.Value, tblAgInvs.WE
>> HAVING (((tblXInvs.XInv) Is Not Null) AND
>> ((tblXInvs.ClrDate) Is Null))
>> ORDER BY tblXInvs.AgInv;
>>
>> It still doesn't make much sense to me I'm afraid...
>
>For a start, you should remove the GROUP BY, it's doing
nothing useful, and
>replace the HAVING clause with a WHERE clause.
>
>
>.
Fantastic, that works now. So it was the HAVING clause
that caused the issue? I don't totally understand why,
but now I have a starting point to investigate and see
what it does. Thanks again everyone for your help!
- Next message: Wayne Morgan: "Re: save value of unbound text box to a table"
- Previous message: Daiuy: "save value of unbound text box to a table"
- In reply to: Brian: "Re: Form not allowing entry"
- Next in thread: Brian: "Re: Form not allowing entry"
- Reply: Brian: "Re: Form not allowing entry"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|