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

    Pulling data from one tbl to select from another? Creating a Qry for this...

    DBMeProfile - Copy.zip

    Hello All,


    I need some assistance on a Qry and a Frm relating to company Divisions. Attached is a db in progress...please be patient...
    I have had to remove a lot of data from CSZ and ZipCode tables to get this small enough to send over


    On the CompanyProfileFrm (Which will open up on dbOpen) I have a list box with attached form to choose Company Divisions. This works well....


    If you clk on Contacts button it will open up company contacts where i have a list box of Divisions with a manage divisions button that will open up form.


    What i am trying to do is create a Qry, Called ContactDivisionQry which will allow me to add Company Divisions to the form ContactDivisionFrm from that list
    of chosen Company Divisions from the Company Profile Frm....


    Example:
    My Company has 8 divisions and I work for 2 of them lets say. I want to pick from the Company Divisions that are only related to that company.


    I worked all weekend trying to get that to work and have had no success to it at all. It is some what complicated as there are One to Many and Many to Many tbls involved.


    Thanks for all your assistance!


    Dave

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115
    Please have a look at the updated file. I have changed quite a bit of your forms/code to make it work,
    please ask if you need more info.

    Cheers,
    Attached Files Attached Files
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  3. #3
    d9pierce1 is offline Expert
    Windows 10 Access 2016
    Join Date
    Jan 2012
    Location
    Oklahoma
    Posts
    776
    Hi all,
    Sorry but it finally hit me what i was doing wrong! I got it fixed
    Thanks
    Dave

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

Similar Threads

  1. Replies: 10
    Last Post: 10-26-2019, 12:15 PM
  2. Like* Criteria not Pulling all Data
    By Lee Ratzlaff in forum Queries
    Replies: 11
    Last Post: 06-27-2019, 01:56 PM
  3. Replies: 6
    Last Post: 05-06-2015, 12:56 PM
  4. Replies: 3
    Last Post: 02-19-2015, 04:41 PM
  5. Search from not pulling up all my data
    By wnicole in forum Access
    Replies: 5
    Last Post: 10-02-2013, 08:36 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