Ask a Question related to ASP Database, Design and Development.
-
Svein Olav Steinmo #1
Selecting data based on user input
Hi !
I have a table on my sql-server with date, value1, value2
How can I make a asp where the user can input date range, and the number of
values to return ? The returned numbers should then be the average for the
given number of rows.
If I have 1000 rows in the selected date range, and the user will return
only 10 numbers, then there will be one average for every 100 values.
I will use the result to present in a graph.
Svein Olav Steinmo
Svein Olav Steinmo Guest
-
Dynamic generation of list boxes based on user input
This topic is similar to my last topic, but is slightly different. Again, I'm using session variables and a form wizard that takes the user... -
Insert data into a form based on user input
You have a list menu field call company invoice number and 2 other fields called customer name and cust invoice. Is there a way to have the user... -
How do I get the input from a user web cotnrol and build the control based on that?
Hi, I'm building a user login control, which will accept a username and password in textboxes and a checkbox to keep logged in - pretty much your... -
selecting based on a month in a date
Hi, Asked this on the mySQL list but it seems to be more of a PHP syntax thing that a mySQL thing. In have the following line in PHP <?php... -
Loading forms based on user selecting combo box
How about creating a new table that identifies the form to open for the different Tree/Task combinations? The table would have three columns:... -
Ray at #2
Re: Selecting data based on user input
Please don't take this the wrong way.
Have you created any asp pages before? Have you started working on this
one?
Ray at work
"Svein Olav Steinmo" <svein-olav@steinmo.no> wrote in message
news:mzfab.30948$Hb.472950@news4.e.nsc.no...of> Hi !
>
> I have a table on my sql-server with date, value1, value2
> How can I make a asp where the user can input date range, and the number> values to return ? The returned numbers should then be the average for the
> given number of rows.
>
> If I have 1000 rows in the selected date range, and the user will return
> only 10 numbers, then there will be one average for every 100 values.
>
> I will use the result to present in a graph.
>
> Svein Olav Steinmo
>
>
Ray at Guest
-
Bullschmidt #3
Re: Selecting data based on user input
As far as setting a date range based on posted fields:
strSQL = "SELECT * FROM MyTable WHERE (TheDateField >= #" &
Request.Form("MinDate") & "#) AND (TheDateField <= #" &
Request.Form("MaxDate") & "#)"
Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
[url]http://www.Bullschmidt.com[/url]
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Bullschmidt Guest
-
Svein Olav Steinmo #4
Re: Selecting data based on user input
No, this is my first asp project. Sorry if the question was to basic, but Im
trying every way to get information. The way I have done the pages I already
have, is by using access and frontpage.
Svein Olav
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:OhjIoYefDHA.2748@TK2MSFTNGP11.phx.gbl...the> Please don't take this the wrong way.
>
> Have you created any asp pages before? Have you started working on this
> one?
>
> Ray at work
>
> "Svein Olav Steinmo" <svein-olav@steinmo.no> wrote in message
> news:mzfab.30948$Hb.472950@news4.e.nsc.no...> of> > Hi !
> >
> > I have a table on my sql-server with date, value1, value2
> > How can I make a asp where the user can input date range, and the number> > values to return ? The returned numbers should then be the average for>> > given number of rows.
> >
> > If I have 1000 rows in the selected date range, and the user will return
> > only 10 numbers, then there will be one average for every 100 values.
> >
> > I will use the result to present in a graph.
> >
> > Svein Olav Steinmo
> >
> >
>
Svein Olav Steinmo Guest



Reply With Quote

