Results 1 to 3 of 3
  1. #1
    sam49 is offline Advanced Beginner
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Nov 2010
    Posts
    31

    How do i get data into a report without the ID field

    Hi
    Can someone please help me.
    I have created a database in access 2010 and I have made a data input form on the data input form I have a combo box getting data from another table, and I have set it to store the relevant data in my main table, I have also set the main table not to show the first field the ID field and to show the second field and that’s to data I want to see in the table, now this all works ok I can see the data I want to see on the input form and in the main table and not the ID field.



    But now the problem when a create a report I and I get the data from the main table and the column with data from the combo box is displayed on the report as the ID number and not the data as I see it on the main table.

    So how do I display the data I need and not the ID field, it was easy in the form and table I just set the first column to 0 but how do you do that for a report

  2. #2
    pkstormy's Avatar
    pkstormy is offline Access/SQL Server Expert
    Windows XP Access 2003
    Join Date
    Mar 2010
    Location
    Madison
    Posts
    682
    You could:

    1. use a combobox again.
    2. use the dlookup command as the control source in an unbound field.
    3. Link the relational table into the recordsource of the report

  3. #3
    SteveF is offline Generally AccessAble
    Windows XP Access 2010 32bit
    Join Date
    Nov 2010
    Location
    Fourth Corner
    Posts
    123
    Quote Originally Posted by sam49 View Post
    Hi
    Can someone please help me.
    I have created a database in access 2010 and I have made a data input form on the data input form I have a combo box getting data from another table, and I have set it to store the relevant data in my main table, I have also set the main table not to show the first field the ID field and to show the second field and that’s to data I want to see in the table, now this all works ok I can see the data I want to see on the input form and in the main table and not the ID field.

    But now the problem when a create a report I and I get the data from the main table and the column with data from the combo box is displayed on the report as the ID number and not the data as I see it on the main table.

    So how do I display the data I need and not the ID field, it was easy in the form and table I just set the first column to 0 but how do you do that for a report
    Instead of directly using the table to feed data to the report, use a Query. Join the main table and the lookup table together by their common field, and drop the description field from the lookup table into the query instead of the code field from the main table.

    You'll have to rebuild your report to point to the query and new data field.

    Steve

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Show label on report only if data in field
    By senna in forum Reports
    Replies: 1
    Last Post: 01-31-2011, 06:11 AM
  2. Replies: 3
    Last Post: 11-05-2010, 03:10 PM
  3. Report Data Field Issue
    By SilverSN95 in forum Access
    Replies: 3
    Last Post: 07-23-2010, 07:53 AM
  4. Replies: 3
    Last Post: 06-23-2010, 02:02 PM
  5. Report keeps asking a for field value!
    By yobi4ever in forum Reports
    Replies: 2
    Last Post: 01-21-2010, 05:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums