Results 1 to 4 of 4
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Another Report Question (2003)

    I have a prompt report where I use a form. I have it set up so that if they do not enter a rep number , the whole report will print. I put the Rep name and number in the report heading. Is there a way to not show these fields when the whole report is selected to print?

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Another Report Question (2003)

    In your report's OnOpen event, insert code to make these controls visible/invisible based on whether or not those controls in the prep form are null.

    Something like: txtRepName.visible = not isnull(forms!frmRptReps!txtRep)
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Another Report Question (2003)

    I put this in - txtRepName.Visible = Not is Null(forms![rep/asm input3]![txtRepNo]) but it is giving me a syntax error...

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Another Report Question (2003)

    IsNull is one word, not two words.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •