I've searched a lot of forums but can't find the exact answer I need.
My db is a Conference Scheduling DB whereby I have four tables to consider: Persons / Person-to-Conference / Conference_Main / Conference_Day
I am unable to post images because when I try to do so on my work computer, it craps out, so I'm sorry for the lack of visual.
This db will allow someone to create a conference, where it will automatically populate data for Day 1. Not all conferences are multiple days, but some are.
Let's say there's a three-day conference (Conference X), and it's attended by three people (A, B, C).
Person A is going Day 1
Person B is going Day 1 & 3
Person C is going Day 2 & 3
I have a query where I want to show what days of the conference people attended and I want to populate a textbox on a form with that information. Is there a simple concatenation I can do, or do I need a For Each loop, because of the question of whether or not a conference will even have multiple days or not?
I want to see something like this:
Attendee Days Attended
Person A 1
Person B 1, 3
Person C 2, 3
*Note "Days Attended" would be the textbox in question where I'd want to see the multiple values, e.g. "2, 3"
I'd rather not store this in another table, but rather just make it Dynamic based on whatever days I know my person is going to for the conference. Can anyone help me with some vba?
Or should this instead be a Query that will concatenate the Days attended? Is that possible?
My answer has nothing to do with it being entered in correctly (it is), but rather is a question of where I should be calling the variable arguments for the WHERE statement.