Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    crowegreg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    398

    I appreciate all your time you're spending on this. I'll do some testing on another machine tonight. I'll update tomorrow.

  2. #17
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,951
    Too bizarre! Running in Access 2010 the message pops up. Debug takes me to the Combo2 GotFocus event every time. So I modified with:
    Code:
        If IsNull(Me.Text7) Then
            Me.Text7.SetFocus
        ElseIf IsNull(Me.Text9) Then
            MsgBox "Please enter a PCL Title"
            Me.Text9.SetFocus
        End If
    Unfortunately, it still hits the Combo2 GotFocus event and the message pops up but at least it will set focus. The mystery is why does it hit the Combo2 after about 4 back & forth on the tabs? And why in 2010?
    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. #18
    crowegreg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    398
    I guess I'm pleased that you were able to duplicate the problem. I installed on the client's machine, and the problem occurred. I was beginning to wonder if maybe it was because of the linked tables. But since you duplicated, that is ruled out.

  4. #19
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,951
    If the mystery can't be solved, the only thing I can suggest is to eliminate the MsgBox line.
    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. #20
    crowegreg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    398
    It sounds like you haven't responded to the message. If you respond, it then displays the message "Please enter a Print Run ID." Then a run time error message.

  6. #21
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,951
    I do respond to the messages. Without my code revision I get the runtime error.

    Just tested again and noticed that sometimes clicking tab 2 (Edit Print Run Edit Info) focus goes to Text67.

    I have never seen this with earlier versions. More reason not to upgrade to 2010. I have not been impressed with 2010.
    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. #22
    crowegreg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    398
    So Access 2010 could be the culprit. At least I know that since you've reviewed the DB, the problem is not due to coding. My solution is to add your code listed above. It prevents the focus from being in the wrong location. Thanks for all your time spent on this thread.
    Last edited by crowegreg; 08-27-2011 at 05:15 PM.

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

Similar Threads

  1. Information in tabbed form
    By dunnmel4 in forum Forms
    Replies: 7
    Last Post: 03-27-2011, 04:32 PM
  2. Tabbed form
    By leftylee in forum Forms
    Replies: 6
    Last Post: 03-14-2011, 12:45 AM
  3. can a tabbed form be too big? Help!
    By ma t in forum Forms
    Replies: 3
    Last Post: 03-10-2011, 10:03 AM
  4. Tabbed Sub Form
    By Vikki in forum Access
    Replies: 1
    Last Post: 02-10-2010, 10:30 AM
  5. Setting Focus on a Form
    By MFeightner in forum Forms
    Replies: 1
    Last Post: 07-30-2009, 07:49 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