Results 1 to 2 of 2
  1. #1
    Cedarguy is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    37

    Using controls with Reports

    It appears that you can use controls with Reports in Access 2010 otherwise the ribbon wouldn't present them.



    I tried using a button on a report so I could select the record displayed on a row, to invoke an existing form, so I could edit the record.
    I used the OpenForm macro that's invoked when the button is clicked.
    I provided the condition which equates the record ID field on the report with the same field on the form.
    The mechanism seems to work (i.e. I can invoke the form) but the form either starts with the first record on the table (when I provide the condition) or a bank form (when a condition is not provided).

    So, are control supposed to work with reports?
    If so, any suggestions as to how I can make this work?

    Many thanks.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Report doesn't have record selector so don't know if this is possible. Have you step debugged? Do you know the ID value is passed to the code that opens form?

    Review link at bottom of my post on debug techniques.
    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.

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

Similar Threads

  1. Convert Client Reports to Web Reports
    By need_help12 in forum Reports
    Replies: 0
    Last Post: 05-08-2012, 08:22 AM
  2. Replies: 1
    Last Post: 06-24-2011, 04:27 PM
  3. Reports w/ sub-reports very slow to open
    By vaikz in forum Reports
    Replies: 2
    Last Post: 02-27-2011, 08:41 AM
  4. Access Reports drop sub-reports
    By Kevin Ellis in forum Reports
    Replies: 0
    Last Post: 11-19-2010, 03:28 PM
  5. Tab Controls
    By karlhardeman in forum Forms
    Replies: 10
    Last Post: 08-25-2010, 07:01 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