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!

Access Reports - Count Function??? HELP!!!

Status
Not open for further replies.

Dklein

IS-IT--Management
Nov 9, 2001
33
US
Hello,

I have a text box in a report that works out the difference in two dates in the record and gives a number of hours. What I need now is another text box that works out how many of these are >3 i.e. greater that three hours difference... I'm trying to use =Count([Elapsedtime],>3) but when I run the report all I get a dialog box saying

Elapsed TIme

Can anyone help please, thanks in advance

Dave
 
Hi,
This post really belongs in the Access Reports forum. In any event, the answer to your question lies in the use of the IIF function. You can find more info about this inside of Visual Basic help. HTH, [pc2]
Randy Smith
California Teachers Association
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top