Results 1 to 12 of 12
  1. #1
    kabies1983 is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2012
    Posts
    6

    Need Help in Microsoft Access, Open empty fields in Access

    I need help in producing my Microsoft Access database. What can do when I click the enter button in my switchboard form, its will automatically open the "Nama Rakan Sekerja" field that is empty. Please refer to the picture shown below.



    Click image for larger version. 

Name:	Need Help.JPG 
Views:	19 
Size:	78.9 KB 
ID:	8907

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    What do you mean by 'open' a field? A textbox that is not locked is already 'open' and available for data entry. Do you actually mean you want focus set on that textbox when the form opens? Easiest method is to set TabOrder property.
    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
    kabies1983 is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2012
    Posts
    6

    Good day to you

    I mean when users click enter button in the switchboard form its will automatically lead to the form that have empty field. In my case its will lead to the "Nama Rakan Sekerja" field that is empty. The others field "No Blok", "No Kotak Dokumen" and "No Kotak Pendaftaran" will automatically gain the data from the table. The users then will fill the empty field (Nama Rakan Sekerja).

    In my current situation, when users clicks the enter button, its will go to the first records. If possible I want its directly go the "Nama Rakan Sekerja" field that is empty. Then the user will fill the field by themself.

    By the way, how to set TabOrder property as you mention earlier.

    Thank you

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    TabOrder is a property of controls, on the Other tab of Properties dialog.

    You want switchboard to open form Kawalan to a new record and populate first 3 fields OR open to an existing record?
    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. #5
    kabies1983 is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2012
    Posts
    6
    Switchboard will open form Kawalan. When form Kawalan open, its will open the existing records that have empty fields (in my case, the empty field will be Nama Rakan Sekerja field). Then the users can fill up the empty field by themselves and save. And then, its will go to next records where 'No Blok', 'No Kotak Dokumen ' and 'No Kotak Pendaftaran' is a running data. Only field Nama Rakan Sekerja is empty and need to be fill by Users.

    If ok to you I can email the database so that you can check the database for further understanding.

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    You can attach db to post. Follow instructions at bottom of my post.
    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. #7
    kabies1983 is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2012
    Posts
    6
    Hi there,
    This is my current situation;

    When I click enter at Switchboard. its will go to the Kawalan Form 1st records.

    What I'm tring to do;

    When I click enter at Switchboard. Kawalan form that have empty records at Staff's Name field will appear 1st.

    I have attached the DB files for your reference.

    Thank you
    Attached Files Attached Files

  8. #8
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Try:

    1. Set the Kawalan form OrderBy property to: [Kawalan].[Nama Rakan Sekerja], [Kawalan].[No Blok]

    2. Set the OrderByOnLoad property to Yes

    BTW, your uploaded file was 4mb. I ran Compact & Repair and reduced the size to 588kb. Always a good idea to run C&R before uploading files.
    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.

  9. #9
    kabies1983 is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2012
    Posts
    6
    Waaa..its a good solution..Thank you..thank you...But I'm noticed that records that has been updated is at the end of the records. Can its maintain on its position. Lets say records no.5 is the starting of Nama Rakan Sekerja empty fields. So when I enter from switchboard its will go to records no.5. From records no.5 I can go to the previous updated records (by click the previous button) and its will go to the records no.4 and so on.

  10. #10
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Not without a lot more VBA code.
    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.

  11. #11
    kabies1983 is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2012
    Posts
    6
    Where can I have the code please . Anyone here code master? Please do guide me.

  12. #12
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Too complicated. I am not going to put effort into it. You will have to figure it out or hope someone else offers to.
    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.

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

Similar Threads

  1. Replies: 24
    Last Post: 07-08-2013, 12:59 PM
  2. Replies: 2
    Last Post: 04-23-2012, 10:13 PM
  3. Replies: 4
    Last Post: 11-20-2011, 01:08 PM
  4. Replies: 1
    Last Post: 09-13-2011, 01:52 PM
  5. Replies: 3
    Last Post: 09-11-2011, 06:38 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