Results 1 to 3 of 3
  1. #1
    steve7800 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    May 2018
    Posts
    41

    How to configure a split form to be ready for data entry when it opens?

    I have a form which is bound to a table. The form is set to Split Form. When the form opens I want the user to be able to begin typing in the iDescription text field in the detail section of the form (as opposed to the datasheet section of the split form) and then tab to other fields. The iDescription.SetFocus statement in the Form_Load event does indeed allow the user to enter data into the iDescription text field. But the user cannot tab to or select with the mouse any other field in the detail section of the form. The user is stuck on the iDescription text field.



    It is necessary to select the record in the datasheet section with the mouse in order to enter data into other fields of that record.

    How can I configure the form or what can I do in VBA code to allow the user to immediately begin entering data in the fields in the detail section and tabbing among those fields?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Tried Open event and I see what you mean about not able to move.
    However, I then tried the Load event and it works for me.
    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. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    I had the same results...Focus code in the Form_Load event worked fine.

    As a general rule...anything pertaining to data has to be in the Form_Load event, rather than in the Form_Open event.

    Linq ;0>

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 03-17-2014, 09:01 AM
  2. Replies: 5
    Last Post: 12-05-2013, 07:54 AM
  3. Split Form For Data entry
    By OneToLearn in forum Forms
    Replies: 3
    Last Post: 10-22-2012, 01:49 PM
  4. Replies: 7
    Last Post: 01-29-2012, 07:44 AM
  5. Replies: 0
    Last Post: 02-09-2011, 03: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