J
Jim Franklin
Hi,
I hope someone can help me. I have two tables in A2k, "Orders" and
"Letters". Fields are as follows:
Orders.OrderID (primary key)
Orders.CustomerID
Orders.OrderDate
Letters.LetterID (primary key)
Letters.CustomerID
Letters.LetterDate
I want to create a query that tells me, for each letter sent out, the number
of orders placed by that customer between 2 and 30 days after the letter was
sent. Each customer can have multiple orders and multiple letters.
Can someone tell me the best way to do this? I have tried a DCount function
in the query, but could not get it to work.
Thanks,
Jim F.
I hope someone can help me. I have two tables in A2k, "Orders" and
"Letters". Fields are as follows:
Orders.OrderID (primary key)
Orders.CustomerID
Orders.OrderDate
Letters.LetterID (primary key)
Letters.CustomerID
Letters.LetterDate
I want to create a query that tells me, for each letter sent out, the number
of orders placed by that customer between 2 and 30 days after the letter was
sent. Each customer can have multiple orders and multiple letters.
Can someone tell me the best way to do this? I have tried a DCount function
in the query, but could not get it to work.
Thanks,
Jim F.