Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Retrieval Problems

Retrieval Problems

Retrieval Problems

I am working on my first report in InfoMaker attempting to create a customized roster using the back-end database to a class registration client at the community college I work for.  I've got the query written out with all of the indexes I'll need selected (spanning some 20 different tables).  The only retrieval argument I've set (SectionNo) is a string to allow users to select an individual class's mixed-character ID - referred to in our system as a Section Number.  However, when I attempt to retrieve the data using a valid section number, I am not returning any results.  The full query looks like this:

  SELECT ntm_sectionroster.seatgroupid,   
    FROM ntm_sectionroster,   
   WHERE ( ntm_sectionroster.studentid = ntm_student.studentid ) and  
         ( ntm_student.personid = ntm_person.personid ) and  
         ( ntm_person.personid = ntm_persontelephone.personid ) and  
         ( ntm_person.personid = ntm_personaddress.personid ) and  
         ( ntm_person.personid = ntm_personemail.personid ) and  
         ( ntm_person.personid = ntm_personnamepart.personid ) and  
         ( ntm_person.gendertypeid = ref_gendertype.id ) and  
         ( ntm_sectionroster.seatgroupid = ntm_seatgroup.seatgroupid ) and  
         ( ntm_seatgroup.sectionid = ntm_section.sectionid ) and  
         ( ntm_section.sectionid = ntm_meeting.sectionid ) and  
         ( ntm_meeting.scheduleid = ntm_schedule.scheduleid ) and  
         ( ntm_schedule.scheduleid = ntm_schedulesite.scheduleid ) and  
         ( ntm_schedule.scheduleid = ntm_schedulebuilding.scheduleid ) and  
         ( ntm_schedule.scheduleid = ntm_scheduleroom.scheduleid ) and  
         ( ntm_schedulesite.siteid = ntm_site.siteid ) and  
         ( ntm_schedulebuilding.buildingid = ntm_building.buildingid ) and  
         ( ntm_scheduleroom.roomid = ntm_room.roomid ) and  
         ( ntm_section.sectionid = ntm_sectionfaculty.sectionid ) and  
         ( ntm_sectionfaculty.facultyid = ntm_faculty.facultyid ) and  
         ( ntm_section.offeringid = ntm_offering.offeringid ) and  
         ( ( ntm_section.sectionnumber = :SectionNo ) )   
ORDER BY ntm_person.sortname ASC   

Any thoughts as to why no results are being retrieved would be greatly appreciated - thanks!


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close