Simple query help

R

ross

Hi,
I have 2 table. These are linked by a phone number in a one to many.

Each table has a data feild.

I would like a query to return only data where the date feild in
table one is the same or up to 14 days after that in table two.

I'm using the QBE grid, how can i do this!!!!

Many thanks
 
D

Duane Hookom

Set the criteria under tableOne.DateField to
Between tableTwo.DateField and DateAdd("d",14,tableTwo.DateField)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top