Page 2 of 2 FirstFirst 12
Results 16 to 29 of 29
  1. #16
    hinchi1 is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    181
    Quote Originally Posted by Gicu View Post
    Hi,
    Please have a look at the updated file, I have replaced your combos with a subform bound to a new join table that tracks the roomid/researchgroupID (added a date range in there if you need to add a temporal twist to it).
    Cheers,


    Vlad
    Hi Vlad
    I like the subform as it gives more flexibility. After selecting research groups. How could I display these groups on frmRoomBuildingDetails in say one textbox that are comma separated?

  2. #17
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,235
    Lookup JoinFromArray on my website or Google concate related function by Allen Browne.
    Cheers,
    Vlad

  3. #18
    hinchi1 is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    181
    Quote Originally Posted by Gicu View Post
    Lookup JoinFromArray on my website or Google concate related function by Allen Browne.
    Cheers,
    Vlad
    Cheers. Much appreciated

  4. #19
    hinchi1 is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    181
    Just had a quick look. Beyond my knowledge. A bit of homework needed I think.

  5. #20
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,235
    I can help you a bit later today when I get back home.

  6. #21
    hinchi1 is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    181
    Quote Originally Posted by Gicu View Post
    I can help you a bit later today when I get back home.
    Thank you. This is not my day job, just something I enjoy and find really interesting. I understand a lot of VBA when looking at it, but not my main skill to write it. I really appreciate the help given here.

  7. #22
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,235
    Tell me about, I used to be a forester .....but love Access and VBA now!

  8. #23
    hinchi1 is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    181
    Quote Originally Posted by Gicu View Post
    Tell me about, I used to be a forester .....but love Access and VBA now!
    Mechanical engineer by trade, aerospace work. Always good to have diverse skills though.

  9. #24
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,235
    Here you go, have a look at how I used the public function vcJoinFromArray in the query and I'm sure you will understand how it works.

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

  10. #25
    hinchi1 is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    181
    Quote Originally Posted by Gicu View Post
    Here you go, have a look at how I used the public function vcJoinFromArray in the query and I'm sure you will understand how it works.

    Cheers,
    Vlad
    Nice one. Will have a look in the morning. As always much appreciated.

  11. #26
    hinchi1 is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    181
    Quote Originally Posted by Gicu View Post
    Here you go, have a look at how I used the public function vcJoinFromArray in the query and I'm sure you will understand how it works.

    Cheers,
    Vlad
    Hi Vlad

    Thanks for this, just what i want. one thing i do need to figure out that i noticed. if i delete a research group from the subform the record is not deleted in full from the table, tblresearchgroupjoin. the research groupid is deleted from the record line but not the roomid. i am sure i can work this out. i need to be able to delete groups from rooms as we always moving groups around.

  12. #27
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,235
    Don't just empty the combo box, but delete the entire record (click the record selector on the right and press the Delete key).

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

  13. #28
    hinchi1 is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2017
    Posts
    181
    Quote Originally Posted by Gicu View Post
    Don't just empty the combo box, but delete the entire record (click the record selector on the right and press the Delete key).

    Cheers,
    Cheers. I figured this out after my last post. What you have done is more than I expected, works brilliantly. I just need now to import into main dB. Thanks again for the support.

  14. #29
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,235
    You're very welcome, good luck with your project!

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

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

Similar Threads

  1. Cascading ComboBox - Duplicated
    By Jrtulare in forum Programming
    Replies: 6
    Last Post: 12-12-2015, 02:25 PM
  2. Replies: 1
    Last Post: 05-13-2015, 01:14 PM
  3. Cascading ComboBox Issue
    By Nippy in forum Forms
    Replies: 4
    Last Post: 03-13-2014, 10:06 PM
  4. cascading combobox
    By ashu.doc in forum Forms
    Replies: 7
    Last Post: 09-08-2012, 10:39 AM
  5. Cascading ComboBox Question
    By Kevo in forum Forms
    Replies: 14
    Last Post: 07-27-2011, 08:48 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