A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

use query to find age



 
 
Thread Tools Display Modes
  #1  
Old January 19th, 2005, 07:47 AM
paul_88
external usenet poster
 
Posts: n/a
Default use query to find age

i have a database and need to use a criteria to calculate the age for all the
fields already in the table/database, does anybody know what code i should
use?
many thanks
  #2  
Old January 19th, 2005, 10:17 AM
Svein Ludvigsen
external usenet poster
 
Posts: n/a
Default


"paul_88" skrev i melding
...
i have a database and need to use a criteria to calculate the age for all
the
fields already in the table/database, does anybody know what code i should
use?
many thanks


Try
Age: DateDiff("yyyy";[Born];Date())

Svein


  #3  
Old January 19th, 2005, 01:26 PM
external usenet poster
 
Posts: n/a
Default

unless there is a time stamp for the record or each field,
there is no way that you can calculate the age of the
fields. if there is a time stamp then in the query header
put
AGEate()-[TimeStamp]

-----Original Message-----
i have a database and need to use a criteria to calculate

the age for all the
fields already in the table/database, does anybody know

what code i should
use?
many thanks
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unmatched Query Mess Natalia Running & Setting Up Queries 8 October 28th, 2004 02:36 PM
Here's a shocker Mike Labosh General Discussion 2 October 26th, 2004 05:04 PM
Find and Replace Query with Wildcards in Access GoFlyersCS Running & Setting Up Queries 6 October 18th, 2004 01:23 PM
Query Help find match and delete. Raj Running & Setting Up Queries 1 September 24th, 2004 09:16 PM
Display Parameter from Form on Report sara Setting Up & Running Reports 10 July 19th, 2004 04:54 PM


All times are GMT +1. The time now is 10:26 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.