Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Nov 2002
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Displaying a message (2003)

    I am attempting to display a message when a certain client name appears on a form. I used the following code.
    Private Sub Form_Current()
    If [ClientName] = "Last, First" Then
    [Msg].Visible = True
    Else
    [Msg].Visible = False
    End If
    Although this works on the form, when I print the form, the message appears for every client name. How do I print the forms with the message visible only for the specific client?
    Thanks

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

    Re: Displaying a message (2003)

    I don't know why that would happen, but then I never use a form for printing. I would design a report to print the data, and use code in the On Format event of the detail section to show/hide the Msg control.

Posting Permissions

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