Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
So Confused and Need Help on displaying reports
Old 11-03-2006, 10:44 AM So Confused and Need Help on displaying reports
Average Talker

Posts: 25
Trades: 0
I have to resubmit my previous question. I need assistance on reports.
I created a reports section for campuses. However, when I run the reports and only want to select one campus for example, it shows all the campuses. Please let me know if I need to send something else as well.
Thanks.
Here is my code:
Here is the select statement:

select * from campuses order by description

but I know I need to include a where clause to
retrieve the information but I am not certain where to begin.
Here is the table that it is coming from:
Table Campuses
Description Code
Salt Lake 001
Test 1 002
Test 2 003
Thank you

Last edited by tgmiller5; 11-03-2006 at 12:53 PM.. Reason: Wrong code to look at
tgmiller5 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-04-2006, 12:09 PM Re: So Confused and Need Help on displaying reports
Average Talker

Posts: 23
Trades: 0
Quote:
Originally Posted by tgmiller5 View Post
I have to resubmit my previous question. I need assistance on reports.
I created a reports section for campuses. However, when I run the reports and only want to select one campus for example, it shows all the campuses. Please let me know if I need to send something else as well.
Thanks.
Here is my code:
Here is the select statement:

select * from campuses order by description

but I know I need to include a where clause to
retrieve the information but I am not certain where to begin.
Here is the table that it is coming from:
Table Campuses
Description Code
Salt Lake 001
Test 1 002
Test 2 003
Thank you

You need to have a where clause

Do

select * from campuses where code = 'insertcampusname' order by description

Or is ASP if you are doing it from a form

"select * from campuses where code = '" & request.form("code") & "' order by description"
__________________
Free Gaming Websites

Please login or register to view this content. Registration is FREE

News - Forums - Features

Last edited by jayr1021; 11-04-2006 at 12:10 PM..
jayr1021 is offline
Reply With Quote
View Public Profile
 
Old 11-20-2006, 12:04 PM Re: So Confused and Need Help on displaying reports
Average Talker

Posts: 25
Trades: 0
Thank you,

It works.
tgmiller5 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to So Confused and Need Help on displaying reports
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11268 seconds with 12 queries