Results 1 to 6 of 6
  1. #1
    sk88 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    183

    HELP! in Access Reports

    I have a form with Name (drop down list), start date and end date. All of these fields are outbound


    This form is linked to a Report and the report is based on a query.

    I created a command (PRINT PREVIEW) for Report in the form where depending on the name and dates I select, the individual report pulls up.

    I have this code
    Code:
    Between [Forms]![frmAttendance]![StartDate] And [Forms]![frmAttendance]![EndDate]
    in my query under the EVENTDATE column

    and I have this code under NAME Column
    Code:
    [Forms]![frmAttendance]![cmbName]
    It was working perfectly fine at one time until I don't know what settings I did. Right now it shows me the blank report only.

    PLEASE HELP! IN DESPERATE NEED!

    THank you

  2. #2
    ketbdnetbp is offline Competent Performer
    Windows 7 32bit Access 2003
    Join Date
    Mar 2011
    Location
    Midwest
    Posts
    254
    sk88 -

    Assuming [cmbName] is a combo box, what is the "Row Source" property of this [Forms]![frmAttendance]![cmbName] control? Additionally, what is in the "Column Widths" property? Depending upon those answers, you may have to reference a column in the criteria of the Name column.

    On the surface, the criteria for the dates, look fine.

    Jim

  3. #3
    sk88 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    183
    Hi Jim,

    The row source for my frmAttendance is nothing
    The column width for cmbName? its 0";1";1"

    I forgot to mention that my drop down list is the combination of 2 columns - (Surname and First name)

    Thanks for helping

  4. #4
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    How did you/do you put those values in the combo box (dropdown)?

  5. #5
    ketbdnetbp is offline Competent Performer
    Windows 7 32bit Access 2003
    Join Date
    Mar 2011
    Location
    Midwest
    Posts
    254
    sk88 -

    What is the row source property of the [cmbName] control?

    In the query, is Name a combination of Surname and First Name?

    Jim

  6. #6
    sk88 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    183
    Thank you everyone!! I solved the mystery! The bound column was still referring to Column 1 (ID) where technically it should be Column 2!!


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

Similar Threads

  1. Access Reports
    By Dongola in forum Reports
    Replies: 3
    Last Post: 12-18-2011, 09:55 AM
  2. Access Reports
    By groovychick in forum Reports
    Replies: 2
    Last Post: 11-09-2011, 08:35 AM
  3. Access Reports drop sub-reports
    By Kevin Ellis in forum Reports
    Replies: 0
    Last Post: 11-19-2010, 03:28 PM
  4. Access Reports
    By WhatnThe in forum Access
    Replies: 19
    Last Post: 02-01-2010, 02:21 PM
  5. Access Reports
    By Mxcsquared in forum Reports
    Replies: 18
    Last Post: 01-04-2006, 10:32 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