Results 1 to 6 of 6
  1. #1
    Ray67 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    338

    Text box in header

    Hello

    I have a report builded. Just missing to put one field. When i put the field in detail section it display the data. When i put the same field in report header it doesn't display the data. What i'm i doing wrong????

    Thank you

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,900
    Would have to analyse db if you want to provide.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Ray67 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    338
    720 - Copy2.mdb


    Thank you

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,900
    It's because the textbox in report header shows Year value from first record in the report RecordSource. The Year field is blank for that record. It is the record with only the 0.00 in the Total field. Do you need that record? If not, change Q_RentByMonth2 from RIGHT to LEFT JOIN.

    TRANSFORM Sum(Q_RentByMonth.DepositAmount) AS SumOfDepositAmount
    SELECT Q_RentByMonth.Month, Q_RentByMonth.MonthNumber, Q_RentByMonth.Year
    FROM Q_RentByMonth LEFT JOIN T_Description ON Q_RentByMonth.Description = T_Description.DescriptionID
    GROUP BY Q_RentByMonth.Month, Q_RentByMonth.MonthNumber, Q_RentByMonth.Year
    ORDER BY Q_RentByMonth.MonthNumber
    PIVOT T_Description.Description;
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Ray67 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    338
    June7

    I try the SQl you suggested. It's not showing all description that i would like to show. Rent Apt#6 is not showing. I would like to show all rent description even if there isn't any payments collected.


    Thank you

  6. #6
    Ray67 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    338
    June 7

    I got it. This is what i did open the crosstab query in design view;
    right click in the area near the tables; and select Properties. Next go into
    the Column Headings and put in something like: 'Rent Apt# 1','Rent Apt# 2','Rent Apt# 3','Rent Apt# 4','Rent Apt# 5','Rent Apt# 6'

    Thank you for all your help.

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

Similar Threads

  1. Header and Footer
    By tcheck in forum Access
    Replies: 1
    Last Post: 11-08-2012, 02:23 PM
  2. Header expressions?
    By brownk in forum Reports
    Replies: 1
    Last Post: 05-15-2012, 12:12 PM
  3. importing header and body information from text (csv) file
    By JamesL in forum Import/Export Data
    Replies: 6
    Last Post: 04-10-2012, 09:47 PM
  4. Group Header
    By SusanHRO in forum Reports
    Replies: 5
    Last Post: 08-10-2011, 01:59 PM
  5. Name in form header
    By jmanis in forum Forms
    Replies: 6
    Last Post: 07-08-2010, 06:09 PM

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