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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sort by Date with Text as datatype 1

Status
Not open for further replies.

TTF

IS-IT--Management
Jan 12, 2005
59
US
I've built Access Report that shows Date by SuperLastName.
How can I force Dates to be sorted Asc if datatype is text?

Thanks
 
How are ya tektipsFanny . . . . .

tektipsFanny said:
[blue]I've built Access Report that [purple]shows Date by SuperLastName.[/purple][/blue]
Not quite sure [purple]what you mean by this[/purple] . . . . be a little more specific . . .

Calvin.gif
See Ya! . . . . . .
 
I meant that it data does not sort by Date primarely but by Lastname, Unit and Date
I wasn't sure if it is important. Thanks
 
OK tektipsFanny . . . . .

Easiest would be to [blue]base the report on a query, adding the following CustomField[/blue] ([blue]You![/blue] substitute proper names in [/b][/purple]purple[/b][/purple]):
Code:
[blue]QDate:DateValue([purple][b]YourDateFieldName[/b][/purple])[/blue]
[blue]Then you can easily do your sorting in the query . . .[/blue]

Calvin.gif
See Ya! . . . . . .
 
THANKS, exactly what I needed!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top