Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    bjsbrown is offline Novice
    Windows 7 Access 2000
    Join Date
    Oct 2009
    Posts
    21
    yes, it's in groupheader 1. Finally got to run but still blank line in address.
    Private Sub GroupHeader1_Print(Cancel As Integer, PrintCount As Integer)
    If Len(MemAdd2 & "") = 0 Then
    MemAdd2.Visible = False
    Else


    MemAdd2.Visible = True
    End If
    End Sub

  2. #17
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Have you set the CanShrink property of the control *and* the Section to YES?

  3. #18
    bjsbrown is offline Novice
    Windows 7 Access 2000
    Join Date
    Oct 2009
    Posts
    21
    Yes groupheader 1 is correct. Finally but to run but empty line in address still there.

    Private Sub GroupHeader1_Print(Cancel As Integer, PrintCount As Integer)
    If Len(MemAdd2 & "") = 0 Then
    MemAdd2.Visible = False
    Else
    MemAdd2.Visible = True
    End If
    End Sub

  4. #19
    bjsbrown is offline Novice
    Windows 7 Access 2000
    Join Date
    Oct 2009
    Posts
    21
    BINGO. Thanks a lot for your help. One more question. I'm still learning on using some of the code features. Is all the code used in different controls for the same db entered on the same page. In other words, is the same page supposed to open each time the (...) is used to enter.

  5. #20
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Is there anything else on the line with the 2nd address? Change the name of the MemAdd2 control to txtMemAdd2 and then reference the control in the code.

  6. #21
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by bjsbrown View Post
    BINGO. Thanks a lot for your help. One more question. I'm still learning on using some of the code features. Is all the code used in different controls for the same db entered on the same page. In other words, is the same page supposed to open each time the (...) is used to enter.
    I think the answer to this question is YES. Each Form/Report has its own Class Module. Are you ready to follow the link in my sig to mark this thread as Solved?

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Query for IIF statements
    By SpotoR1 in forum Queries
    Replies: 2
    Last Post: 08-26-2009, 06:57 AM
  2. IIF Statements
    By JDA2005 in forum Queries
    Replies: 8
    Last Post: 07-07-2009, 04:24 PM
  3. Concatenation Urgent Help
    By Shoaib in forum Queries
    Replies: 0
    Last Post: 04-23-2009, 11:02 PM
  4. If statements
    By Ezeecopy in forum Access
    Replies: 0
    Last Post: 03-24-2009, 04:54 AM
  5. Concatenation, nested IIF functions
    By krymer in forum Queries
    Replies: 2
    Last Post: 10-20-2008, 07:27 AM

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