Results 1 to 5 of 5
  1. #1
    Dave14867's Avatar
    Dave14867 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Nov 2016
    Location
    Upstate NY
    Posts
    376

    Cannot add new records on forms

    I cannot determine what is wrong and/or how to fix the issue with not being able to enter new data into forms. I think I have somewhat of an understanding as to why, but I don't know how to resolve it.


    This is really giving me a brain cramp, I have designed several databases before and they are working great, it is just this one I cannot get resolved.

    If you open the attached file and open the frmSpecies and try to enter something that isn't in the drop down it won't let you, the same with the frmBreed. I can enter the data in the associated tables with no problem.




    Issue-File.zip



    Thanks in advance
    Dave

  2. #2
    Minty is offline VIP
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Why are you using a combo control on the data entry form for the table the drop down is based on - it makes no sense to do so really.

    Think about it - the only use for the form is to maintain or add new species.
    By definition if you need to edit the name or add another one it won't be in your combo list, and you have set the combo to limit to list. So it's self defeating.

    I can see the point for the related data that is drawn from other tables, but not the actual Primary (unique?) Description.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    Dave14867's Avatar
    Dave14867 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Nov 2016
    Location
    Upstate NY
    Posts
    376
    Minty,

    I took it from the parent form, but thinking about it there is no reason to have a combo for the primary field but I believe it does make sense for the secondary field. Take the Breed for instance, the combo for the species makes sense to me.

    Is that what is causing the issue?

    Dave

  4. #4
    Dave14867's Avatar
    Dave14867 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Nov 2016
    Location
    Upstate NY
    Posts
    376
    Minty,

    Thanks for the whack up side the head. I don't know what I was thinking, I guess I just was thinking so much about combo boxes I just put them in on those form also.

    I replaced them with regular text boxes and it works fine now.

    Thanks

    Dave

  5. #5
    Minty is offline VIP
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Glad you are fixed

    Sometimes the wood and the trees just get in the way.
    Good luck with the rest of your project!
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

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

Similar Threads

  1. Replies: 4
    Last Post: 04-11-2018, 07:18 AM
  2. Forms will not allow new records
    By vickimurray in forum Forms
    Replies: 7
    Last Post: 07-30-2015, 01:37 PM
  3. Replies: 5
    Last Post: 03-01-2013, 09:17 AM
  4. Hide Records In Forms
    By data808 in forum Forms
    Replies: 4
    Last Post: 08-26-2012, 12:23 PM
  5. table records/forms
    By Sarge, USMC in forum Forms
    Replies: 14
    Last Post: 10-26-2010, 08:35 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