Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date/time value 2

Status
Not open for further replies.

knowgeek

Technical User
Sep 1, 2005
2
US

I've imported a .csv file, which has date and time as one field value. When I run a query to group by date the data is not group... Thinking it is due to the unique data/time value. I’ve played w/ format input mask, and validation rules.
Any suggestions...
 
..is the field of your table of the date type? And is the file imported or linked?
 
Yes,, short date and it is imported... using access 2003
 
I think it is about a query

Select Field1, ... Format(DateField, "dd/mm/yyyy")
From myTable
Group By Field1, Format(DateField, "dd/mm/yyyy");

of course you could update the field to hold only the date part

Update myTable
Set DateField=Int([DateField])

There is a special forum701 for queries...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top