Results 1 to 2 of 2
  1. #1
    brandonze is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Mar 2011
    Posts
    49

    Report Label

    Is there anyway without going into the design view that I can change a label? I would like to give the user the ability to change the date on the report via a text box on a form.



    Thanks

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

    brandonze -

    You could set the .Caption property of the label in the OnOpen Event of the report, if the form is still open. Try -

    Private Sub Report_Open(Cancel As Integer)
    Reports!ReportName!LabelName.Caption = [Forms]![YourFormName]![textboxName]

    End Sub

    Hope this helps,

    Jim

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

Similar Threads

  1. Replies: 3
    Last Post: 07-28-2011, 11:24 AM
  2. Show label on report only if data in field
    By senna in forum Reports
    Replies: 1
    Last Post: 01-31-2011, 06:11 AM
  3. Label Help
    By rcotero in forum Access
    Replies: 2
    Last Post: 11-05-2010, 01:39 PM
  4. Label in Report
    By devcon in forum Forms
    Replies: 3
    Last Post: 07-10-2010, 12:29 AM
  5. Replies: 0
    Last Post: 11-24-2009, 03:23 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