Joe Hecht
jmhecht at earthlink.net
Sun Jan 8 22:55:57 CST 2006
Tried a different route. txtAge is unbound control Data source txtAge=((Now()-[DOB])/365) Set decimals to 0 in format Getting 65.70923 etc Tied various number formats. The 65 is right in test form. Can not kill the decimal What dumb thing did I forget now? Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, January 08, 2006 8:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date Diff Help It cant be this hard On 8 Jan 2006 at 20:39, Joe Hecht wrote: > Why cant I get the proper age to return. ... > Private Sub Report_Open(Cancel As Integer) Try doing it in the "on_format" for a header or detail. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com