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

Posts: 13
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 11:53 AM. Reason: Wrong code to look at
tgmiller5 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 11-04-2006, 11:09 AM Re: So Confused and Need Help on displaying reports
Average Talker

Posts: 23
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
http://www.clansitemanager.com
News - Forums - Features

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

Posts: 13
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

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

vB 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.11639 seconds with 12 queries