Help: Sort Date dg col , Add formatted field to a ds?

J

JDP@Work

I'm hoping that sorting my date columns on a SortDate column will enable correct
date sorting, currently my datagrid is alpha sorting.

I'm thinking that I want to add a field to my dataset that is my ondate
(datetime) formatted as 20050218 as SortDate

My dg column with the same name and DataField="SortDate" will be the
SortExpression for my Date columns (I have two: ondate is the event date, and
date is the born on date)

I will then add a grid column bound to that new SortDate

That brings up Q2, is there a way to format the date 02/18/2005 as 20050218 ?

Any info or links welcomed...

TIA

JeffP...
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top