Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30
  1. #16
    DeathByData is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    15
    I can do that by rebuilding the form and using that field correct? My only question is won't that then cause county to be a bound box? From what I understood it had to be unbound for the combo box setup with the location.

  2. #17
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Forget about the combo box.
    You just need a text box that it bound to "County" on the form.
    You can hide the text box. It just needs to be on the form if you are going to refer to it.

    Dale

  3. #18
    DeathByData is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    15
    I will add county from the frm_issue_input, pardon my ignorance but what exactly does that accomplish? Also, do I need to add provider in the same way?

  4. #19
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    If you want to store a value in County it has to be in the record set of the underlying data of the form.
    Access has to know what you want to store and where it is.

    Side note: Adding County does not guarantee that you will be able to store County anywhere.
    The query may be non-updatable.

    Dale

    EDIT: This is one of the reasons why we stress table normalization so much.
    You can not just pick and chose fields at random to put in a form and have the query updateable.

  5. #20
    DeathByData is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    15
    Ok, I have recreated the form using only fields found in the two main tables that the data will be entered into from said form. I'm not sure how to proceed from here to get the same filter/sort result I had with the unbound combo boxes, but actually achieve the table update as needed. Once again I apologize, I assure you I am well aware I am in over my head on this one, but I have to meet the demands of the project.

  6. #21
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    OK, what do you want to do?

    Dale

  7. #22
    DeathByData is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    15
    All I want is the county selection to filter the locations as in the real table the provider locations has over 1400 records. I want when a county is selected to filter the drop down list for provider locations to only show locations within the selected county. I also need to ensure that it will update in the table when the record is submitted.

  8. #23
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Upload your database with the new form.

    Dale

  9. #24
    DeathByData is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    15
    database with new form.
    IssueInput2.zip

  10. #25
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    See if this is getting close to what you want.




    IssueInput2.zip



    Dale

  11. #26
    DeathByData is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    15
    It is closer but I need the entire list of every location that is referenced to that county not just one. And I need county to requery so if I change the county it will pull the right locations for that county not the first one selected. (this is only in case of error on initial selection)

  12. #27
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Sorry I was still on my first cup of coffee.


    IssueInput2.zip


    Dale

  13. #28
    DeathByData is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    15
    It queries exactly as I specified the problem I see now is the same thing I had issues with before, the county nor provider are saving to the tbl_Prob_Report from the Frm_issue_input.

  14. #29
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    From post 13.

    The problem is that the field "County" is not in the recordset of the form.
    I don't think any of the code in the After event is needed.
    You have named your combo box County however that is NOT the same as the field in the tbl_review.

    Your tables could use some normalizing.

    I could get the the data you want into the table using DAO.
    This could cause you mountains of problems later.
    I would have to have a great deal more information.
    It would be a lot easier for you in the long run to fix your tables.

    Once you start forcing data into an UN-normalized table with DAO it never seems to stop.
    Dale

  15. #30
    DeathByData is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    15
    I would be more than glad to do that, but I am not certain what is wrong with my tables to fix them so that this can work. Can you point me in the right direction?

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Unbound Object Frame Not Updating
    By MrSpadMan in forum Reports
    Replies: 7
    Last Post: 02-06-2013, 06:30 PM
  2. Using Unbound text boxes
    By rbiggs in forum Reports
    Replies: 4
    Last Post: 08-16-2011, 04:05 PM
  3. Unbound Text boxes
    By kyleg222 in forum Forms
    Replies: 2
    Last Post: 08-02-2011, 12:53 PM
  4. Replies: 4
    Last Post: 05-30-2011, 08:20 PM
  5. Use unbound boxes in a form
    By jjerome512 in forum Forms
    Replies: 2
    Last Post: 01-14-2010, 08:53 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