By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,949 Members | 2,043 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,949 IT Pros & Developers. It's quick & easy.

Performin Computations on Date Range Input

P: n/a
Hi ,
I was wondering how to set up an interface in which u let the
user input a date range , and in this date range, i would like to some
computations like finding the average price of all rocks sold between
this date and that. Can someone please help ? Thanks.

Venk.
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 27 Apr 2004 09:50:07 -0700, vv***@hotmail.com (Venky) wrote:

Something like:
select Avg(Price) where SoldDate between
Forms!frmCriteria!txtBeginDate and Forms!frmCriteria!txtEndDate

Of course this requires that you create a form with two text boxes
named txtBeginDate etc, and name that form frmCriteria. Perhaps you'll
even add a handy calendar control to pick a date...

Poor man's version:
select Avg(Price) where SoldDate between [Give Begin Date:] and [Give
End Date:]

-Tom.

Hi ,
I was wondering how to set up an interface in which u let the
user input a date range , and in this date range, i would like to some
computations like finding the average price of all rocks sold between
this date and that. Can someone please help ? Thanks.

Venk.


Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.