Results 1 to 3 of 3
  1. #1
    bluezidane is offline Novice
    Windows Vista Access 2002
    Join Date
    Aug 2010
    Posts
    4

    Hiding checkbox on report


    Hi

    I am working on a report that will only display the relevant checkboxes and associated labels if each checkbox is ticked. So far I have managed to get the labels to hide when their relevant checkbox is not ticked by replacing the label with an unbound textbox which has "=IIf([checkbox],"xxx",Null)" as its control source.

    But I still cannot get the checkbox itself to not appear if it's not been ticked. I have tried lots of things but I am not an Access expert at all so it's all trial and error! I am using Access 2007 and would hugely appreciate any help that anyone can offer.

    I have also changed the properties of the report detail section (and the labels) to can grow/shrink as ideally I would like the report to only show the relevant, ticked checkboxes without extra space between them.

    Thanks

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    rather than solving this at the report/format level - - have you considered instead working the query of the report to only contain records of checkboxes that are checked .... not sure how your data is set up - but this might work.

    hope it helps.

  3. #3
    bluezidane is offline Novice
    Windows Vista Access 2007
    Join Date
    Aug 2010
    Posts
    4
    Thanks for your reply. But I am not sure that will work because I want the user to be able to select a record using a query and then for the report to display the relevant data. However different records will have different information (ie different checkboxes ticked or not ticked) so it seems to me that my report will need to contain all the options which then appear, or don't appear, depending on whether they are ticked or not. If you see what I mean.

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

Similar Threads

  1. Hiding ribbon
    By jgelpi16 in forum Access
    Replies: 3
    Last Post: 12-16-2010, 11:12 AM
  2. Checkbox unable to tick on a report
    By sabre1 in forum Reports
    Replies: 0
    Last Post: 11-08-2010, 09:38 AM
  3. Replies: 2
    Last Post: 08-29-2010, 01:17 AM
  4. Open report if checkbox is ticked
    By Patience in forum Reports
    Replies: 3
    Last Post: 06-23-2010, 08:34 AM
  5. Hiding rows when blank in a report.
    By ser01 in forum Reports
    Replies: 0
    Last Post: 02-27-2010, 10:29 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