Results 1 to 6 of 6
  1. #1
    amd711 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2012
    Posts
    28

    i need a guide on how to mange forms for data insertion


    i am a newbie, i use split forms for data insertion in tables in a relational db

    i chose the table then click "split form" so that textboxes are binded to the table. however i am facing a problem of the error messages that keep to come up because of a primary key was not inserted or because of the relations between tables or because of a field "Required" property set to yes.

    this messages don't go away no matter i did

    how to deal with it?
    and what is the best way for adding, editting, deleting, or searching for data in such situation?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    If the primary key were an autonumber field then missing pk would not be an issue. If you don't want a field to be required then change that property for that field in table. No idea why table relations are an issue without knowing more about data structure.
    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
    amd711 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2012
    Posts
    28
    i need to add the following buttons for the previous form for ( add new - delete - search - cancel )

    "cancel" means to cancel the current insetion and be ready to enter a new record

    what vb code to consstruct them?

    i also need to stop pressing tab at the last textbox to add a new record

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Do some research on this, attempt code, and when you have specific issue with the code, post for analysis.

    Google: Access vba move to new 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
    amd711 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2012
    Posts
    28
    i found topics that program the whole form from scratch, but not when textboxes are binded to the table

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Don't know the code you found so don't know why that would make a difference.
    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. Insertion of Year into table already created
    By Tinara in forum Database Design
    Replies: 9
    Last Post: 04-16-2012, 05:38 AM
  2. VBA & VBA GUI Guide?
    By bginhb in forum Programming
    Replies: 2
    Last Post: 04-01-2012, 08:39 AM
  3. plz guide about access
    By ali zaib in forum Access
    Replies: 3
    Last Post: 01-10-2012, 11:25 AM
  4. sub form insertion / right click
    By vthomeschoolmom in forum Forms
    Replies: 4
    Last Post: 12-27-2011, 03:14 PM
  5. Automatic Date insertion
    By wbeau in forum Access
    Replies: 0
    Last Post: 03-10-2009, 12:51 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