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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying calculations on forms

Status
Not open for further replies.

Knackers

Technical User
Apr 26, 2001
59
AU
Hi,

I have a query with an expression in it to calculate days. I want to be able to sum the values of this expression and then display them on a form. Any ideas?

Obviously I will have to set the control on the form to an expression, but I think that I having trouble with the syntax.

The query name is: Leave01
The expression that I wish to sum is: Expr1

The best I could come up with was

=Sum([Leave01]![Expr1])

If anyone could help me out with this expression, I would be most grateful.

Cheers
 
set the control source of the form to the query - Leave01

set the control source of the control to Expr1


Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top