Access NEWBIE-Creating a Query Comparing Dates w\output of days di

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am an Access newbie. Simple queries I can handle. But, I have been tasked
to create query where I compare two columns of dates and get an output of
day(s) difference between the two. This is with the intent to clean up our
data as best we can.

Any help in the matter would be greatly appreciated. I am a little lost here.

Thanks!
 
try adding a calculated field to your query, as

DateSpan: DateDiff("d", [FirstDateField], [SecondDateField])

see the DateDiff() function topic in Access Help for details on how the
function works.

hth
 
Thanks Tina,

It works!

tina said:
try adding a calculated field to your query, as

DateSpan: DateDiff("d", [FirstDateField], [SecondDateField])

see the DateDiff() function topic in Access Help for details on how the
function works.

hth


Diana Mejia said:
Hi,

I am an Access newbie. Simple queries I can handle. But, I have been tasked
to create query where I compare two columns of dates and get an output of
day(s) difference between the two. This is with the intent to clean up our
data as best we can.

Any help in the matter would be greatly appreciated. I am a little lost here.

Thanks!
 
you're welcome :)


Diana Mejia said:
Thanks Tina,

It works!

tina said:
try adding a calculated field to your query, as

DateSpan: DateDiff("d", [FirstDateField], [SecondDateField])

see the DateDiff() function topic in Access Help for details on how the
function works.

hth


Diana Mejia said:
Hi,

I am an Access newbie. Simple queries I can handle. But, I have been tasked
to create query where I compare two columns of dates and get an output of
day(s) difference between the two. This is with the intent to clean
up
our
data as best we can.

Any help in the matter would be greatly appreciated. I am a little
lost
here.
 

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

Back
Top