I am a total newbie to Access, so please keep in mind that any responses should be in terms a 5 years could understand…lol!!
I have a table with ten columns of data, the important ones are:
Name Date Worked Department
Robin 10-01-1901 Science
Mark 01-06-1950 Research
Robin 05-28-1967 Science
Mark 02-28-1988 Research
Robin 08-31-2011 Science
I have a query that runs, pulling the name, first date worked, last date worked, and frequency. The first and lastof dates are pulling from the same column in the the table
Name firstofdate lastofdate count
Robin 10-01-1901 08-31-2011 3
Mark 01-06-1950 02-28-1988 2
I have tried to create an expression that will find the difference between the two dates, using datediff that would look something like this
Name firstofdate lastofdate count Days Passed
Robin 10-01-1901 08-31-2011 3 40146
Mark 01-06-1950 02-28-1988 2 13932
My expressions looks like this =DateDiff("d", [firstofdate], [Lastofdate]), which I pulled from office.microsoft.com, but I get an expression error.
In the query the first and last of dates are being pulled from the same column in the table, does that have something to do with my expression error?