I am using Access97.
Every morning, i delete and then import a large table from another database into my existing database. That large table has 85 fields, 40 of which are Date/Time data types.
I do calculations with those date/time fields and I'm having troubles because some fields contains the time, ex: 01/31/2002 9:28:00 AM.
When i run a query to give me all the projects between #01/01/02# and #01/31/02#, the record above isn't included because it contains a time. Or if i want to see if a project is on time and the due date is 01/31/02, the record above will show up late when it should be on time.
Instead of putting: format(datefield,"short date"
for all my queries and calculations, is there a way, using code, to look in the table for all the date/time fields and then chop off the time portion?
Thanks,
ruth
Every morning, i delete and then import a large table from another database into my existing database. That large table has 85 fields, 40 of which are Date/Time data types.
I do calculations with those date/time fields and I'm having troubles because some fields contains the time, ex: 01/31/2002 9:28:00 AM.
When i run a query to give me all the projects between #01/01/02# and #01/31/02#, the record above isn't included because it contains a time. Or if i want to see if a project is on time and the due date is 01/31/02, the record above will show up late when it should be on time.
Instead of putting: format(datefield,"short date"
Thanks,
ruth