+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Forum Contributor
    Join Date
    07-31-2008
    Location
    Berkshire, UK
    MS-Off Ver
    2003 & 2007
    Posts
    115

    Displaying a field in a report

    Hi

    I have used a combo box to input abbreviated course names. In the report I would like to show the course names in full length so that people know what they mean.

    [In a separate table I have both the course abbreviation and the "long version" stored.]

    Unfortunately I am not sure how to do this.


    Thanks in advance for your help

  2. #2
    Forum Moderator ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2003 & 2010
    Posts
    1,798

    Re: Displaying a field in a report

    Hi simjambra,

    Let me make a few assumptions here (and please correct me if I'm wrong):

    - the combo box is on a form you use to input data to your student table;
    - the combo box row source is from your "separate" course names table;
    - the course names table has a primary key;
    - the combo box only adds the course name primary key to the student table (as a foriegn key);

    All you need to do is build a select query to provide data to your report. The query should include the student table, the course name table, and a join between the two using the primary key / foreign key mentioned above.

    The result of the query will enable you to add the "long version" course title to your report.

    Cheers,
    Docendo discimus.

    Please consider:
    • Thanking those who helped you. Click the reputation icon in the contributor's post and add Reputation.
    • Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0