WPCC
05-09-2002, 01:14 PM
I have a Members table, Billing table, and Payment table. I wrote an expression for a from that looks like this:
=DSum("[Amount]","Payment","[Date] > #30/11/2001# And Payment!Member_ID=[MemberID]")
It works fine, filtering the payments for dates more recent than 30/11/2001.
I tryed to move this to a query that included all three tables and it doesn't work. It tells me that it cann't find the field MemberID. I tryed to change it to Members.MemberID, Members!MemberID, [Members]![MemberID], and [Members].[MemberID]
Nothing seems to work.
=DSum("[Amount]","Payment","[Date] > #30/11/2001# And Payment!Member_ID=[MemberID]")
It works fine, filtering the payments for dates more recent than 30/11/2001.
I tryed to move this to a query that included all three tables and it doesn't work. It tells me that it cann't find the field MemberID. I tryed to change it to Members.MemberID, Members!MemberID, [Members]![MemberID], and [Members].[MemberID]
Nothing seems to work.