Results 1 to 6 of 6
  1. #1
    d9pierce1 is offline Expert
    Windows 10 Access 2016
    Join Date
    Jan 2012
    Location
    Oklahoma
    Posts
    828

    combo not putting in table? Also search form question

    ProfileNew - Test.zip

    Hi all,
    This is a two part question!
    Attached db, Opens to frmBusiness


    First Question:
    I am having an issue with getting a combo to put value into a table?
    On frmBusiness, Communications tab, Entity Type, cboCategoryEntity, Bound Column is CategoryEntityID


    sfrmEntity is based off qryEntityByBusiness.


    When I select from drop down, the CategoryEntityID does not go into the tblEntity and I cant figure out why?
    Would love some assistance on this.


    Second Question:
    On my search criteria list box, it there a way to get just one business per entity? Example, If I have one company
    with several entities, then it shows up as several businesses! What I would like if possible, is to have just one
    business name in list box no matter how many entities it may have per business but still use search criteria to filter the business
    if that makes any sense, i do hope it does....
    Any assistance would be greatly appriciated!
    Thanks
    Dave

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    In the query,use the FULL path of the combo,either as field,or criteria:

    forms!fMyForm!comboBox

    Also, be sure of the combo’s bound column. That’s the data the query will use.

  3. #3
    d9pierce1 is offline Expert
    Windows 10 Access 2016
    Join Date
    Jan 2012
    Location
    Oklahoma
    Posts
    828
    Hi ranman256 and thanks
    Everything I have done so far comes up with a null value in that combo? Dont get it, after i choose, it should have a value? Correct?
    In any event, If I use criteria, what is the format... Forms!frmBusiness!sfrmBusiness.Form.cboCategoryEnt ity but when I put that in
    it closes db all together and creates a back up so that is not the correct. The form Is frmBusiness, SubForm is sfrmbusiness, source object is sfrmEntity, and the combo is cboCategoryEntity
    Thanks

  4. #4
    davegri's Avatar
    davegri is offline Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,740
    The combobox works as is for me if I choose twice in succession. Don't know why that would be...

  5. #5
    d9pierce1 is offline Expert
    Windows 10 Access 2016
    Join Date
    Jan 2012
    Location
    Oklahoma
    Posts
    828
    thanks davegri,
    I beleive it has something to do with the AddressID as that did work for me also and If I dont put in an address then it gives an error
    Not real sure on that. I may need to store addresses differently?
    Thanks
    Dave

  6. #6
    d9pierce1 is offline Expert
    Windows 10 Access 2016
    Join Date
    Jan 2012
    Location
    Oklahoma
    Posts
    828
    Hi all,
    Going to mark this as solved for now. I need to go back and change some things in the forms and tables to make this work.
    Thanks for all the assitance.
    Dave

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

Similar Threads

  1. Replies: 5
    Last Post: 09-22-2016, 08:42 AM
  2. Replies: 20
    Last Post: 03-22-2016, 03:54 PM
  3. Replies: 25
    Last Post: 03-19-2013, 10:08 PM
  4. Replies: 7
    Last Post: 08-08-2012, 03:28 PM
  5. Replies: 1
    Last Post: 04-20-2012, 03:16 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