View Single Post
  #1 (permalink)  
Old November 26th, 2003, 09:38 PM
saleaf10 saleaf10 is offline
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Avoiding Displaying duplicate data

Hi everyone:
I have a problem. I connected my database to the web. The database contain two tables SchoolDistrict and SchoolDistrictContactInformation. Each school district has more than one contact person. My current code display the data from the two tables using ASP. The problem is that I want the schoolDistrict and the contact person to appear only once not as many times as there are contact person in the SchoolDistrictContactInformation table.
Here is what happen for this school district which has two contact perons in the SchoolDistrictContactInformation table it is displaying the school district information as many time as there are contact perons :

 AKRON CENTRAL SCHOOLS
 47 Bloomingdale Ave.
 Akron, NY 14001 (716) 542-5010
 http://www.akronschools.org
 Mr. Adam Stoltman, Elementry **


 AKRON CENTRAL SCHOOLS
 47 Bloomingdale Ave.
 Akron, NY 14001 (716) 542-5010
 http://www.akronschools.org
 Ms. Cathy Haight, Secondary **


---
the way i want it to work is to display the above information one time but with two contact persons that are highlighted in blue. Here is how i want it to be displayed:

 AKRON CENTRAL SCHOOLS
 47 Bloomingdale Ave.
 Akron, NY 14001 (716) 542-5010
 http://www.akronschools.org
 Mr. Adam Stoltman, Elementry **
 Ms. Cathy Haight, Secondary **


if anyone has any info. of how i should do this please let me know as soon as possible. This is very important.

thanks. Al




Reply With Quote