Results 1 to 2 of 2
  1. #1
    bigmac is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2008
    Posts
    21

    Question columnhidden on a report

    hi all, I have been trying to hide a column in a report using the code below



    Private Sub Report_Load()
    If Forms!Mainform!tItem1 = False Then
    Me.Item1.ColumnHidden = True
    End If
    End Sub

    I can get this to work on a form, but not on a report , I keep getting the following error message
    run-time error "2455"
    you entered an expression that has an invalid reference to the property columnhidden.
    can you help please .

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,397

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

Similar Threads

  1. Using the columnhidden property in on a List Box
    By Access_Novice in forum Forms
    Replies: 13
    Last Post: 11-29-2013, 02:02 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