Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423

    As I attempt to apprise everyone with my signature, doesn't work doesn't help. Neither does "I tried, but..."

    It takes as little as a missing or misplaced character to cause a problem. The error number suggests you haven't drilled down to the proper level before attempting to apply something to it. The code itself is insufficient; we have to understand what the names apply to.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  2. #17
    dhicks is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jun 2017
    Posts
    36

    DB Attachment

    I've attached a zipped copy of my db. Hope this is an easy one to catch. Thanks to everyone for your help!
    Attached Files Attached Files

  3. #18
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Set the prior fields Tab Stop to No.

  4. #19
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    Another tip to get the right syntax for a field, have your main form in design mode, go into a query(new one or saved one) and on criteria line in a column, right click and select Build, double click Forms, Loaded forms, select your main form, then the subform and find the field in the box and double click it. This will give you the syntax that should be correct and you can add the .SetFocus on the end. Copy that syntax and use it in your code.

  5. #20
    dhicks is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jun 2017
    Posts
    36
    It works!!! The last 2 responses did the trick. I'm going to be making great use of the Build feature from now on. You guys are the best, thank you very much! I've learned a lot from this project. Now I have to think of a new monster to build!!

  6. #21
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    Awesome, great job figuring it out!!!

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

Similar Threads

  1. Replies: 4
    Last Post: 03-22-2017, 07:25 AM
  2. Replies: 1
    Last Post: 02-05-2017, 07:44 AM
  3. Replies: 15
    Last Post: 10-08-2015, 02:24 AM
  4. SetFocus on last added form control in subform
    By faythe1215 in forum Forms
    Replies: 12
    Last Post: 03-02-2015, 04:09 PM
  5. SetFocus on Field in subform
    By quicova in forum Forms
    Replies: 5
    Last Post: 09-20-2013, 04:10 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