How do you sort 2 date fields in assending order (query or report)

  • Follow


I have 2 DOB fields (client and spouse) in a table that I currently print off 
the birth month and call them on their b-day.  I really wish I could figure 
out how to get them to print/display in assending order of date (ie: 11/1 
followed by 11/2) even if the spouse is before the client.  Is this possible 
without having to do a bunch of programming?  Thanks!
0
Reply Utf 11/17/2009 7:27:01 PM

Yep.   Use a calculated field like this --
  DOB_Sort:   IIF([Client_DOB]<[Spouse_DOB], [Client_DOB], [Spouse_DOB])
 
-- 
Build a little, test a little.


"KnowEnough2BDangerous" wrote:

> I have 2 DOB fields (client and spouse) in a table that I currently print off 
> the birth month and call them on their b-day.  I really wish I could figure 
> out how to get them to print/display in assending order of date (ie: 11/1 
> followed by 11/2) even if the spouse is before the client.  Is this possible 
> without having to do a bunch of programming?  Thanks!
0
Reply Utf 11/17/2009 7:32:01 PM


1 Replies
588 Views

(page loaded in 2.258 seconds)

Similiar Articles:
















7/25/2012 12:44:15 PM


Reply: