Results 1 to 7 of 7
  1. #1
    jurban is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    4

    access report


    I am posting a report to the web, in a pdf format. the issue is I have data that is hidden under conditional formating in which if it meet the criteria the font is white and background white. This is great since it shows up blank on pdf. However if a slick person takes the pdf highlights the page and transfers it to a word document, he can highlight that area change the font to black and see the data. Is there a way to hide the data prior to creating a pdf.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    I did not know that!

    You are using conditional formatting to just change the text and background colors? Could you instead use an expression in textbox that will return Null or empty string if a condition is met?
    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.

  3. #3
    jurban is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    4
    Can someone give me an example of how I could write an expression that will return a null.
    Quote Originally Posted by June7 View Post
    I did not know that!

    You are using conditional formatting to just change the text and background colors? Could you instead use an expression in textbox that will return Null or empty string if a condition is met?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    From my db:

    =IIf([TestNum]="201",Null,[VTM])
    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.

  5. #5
    jurban is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    4
    I really appreciate your help. Here is what I'm trying to accomplish.
    Where do I apply the condition when I try to apply to report it doesn't like the =IIf also when I run without that I get [VTM] pop-up
    My field name is building and what I'm try to set to null is "non-reportable"

    Quote Originally Posted by June7 View Post
    From my db:

    =IIf([TestNum]="201",Null,[VTM])

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    What I gave you is just an example. It is an expression in a textbox ControlSource property. TestNum and VTM are field names from my table. I have no idea what condition you need to test for nor what your field names are.
    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.

  7. #7
    jurban is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    4
    Thank you so much, once you explained it was a text box control, I was able to solve the problem. Really appreciate the help.

    Quote Originally Posted by June7 View Post
    What I gave you is just an example. It is an expression in a textbox ControlSource property. TestNum and VTM are field names from my table. I have no idea what condition you need to test for nor what your field names are.

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

Similar Threads

  1. Replies: 1
    Last Post: 03-26-2012, 03:01 PM
  2. how to generate this simple report in report ms access
    By learning_graccess in forum Reports
    Replies: 1
    Last Post: 11-26-2011, 02:10 PM
  3. Replies: 4
    Last Post: 12-13-2010, 05:33 PM
  4. Replies: 2
    Last Post: 08-25-2010, 01:42 PM
  5. Replies: 3
    Last Post: 05-21-2010, 03:57 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