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?
Lookup JoinFromArray on my website or Google concate related function by Allen Browne.
Cheers,
Vlad
Just had a quick look. Beyond my knowledge. A bit of homework needed I think.
I can help you a bit later today when I get back home.
Tell me about, I used to be a forester .....but love Access and VBA now!
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.
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.
You're very welcome, good luck with your project!
Cheers,