ScottishFencer
Technical User
Here's the question.
I would like to aggregate a few entries together (from an access) query in a single entry on a control (or subform).
The results set looks like this:
ID, Item
101, 1
101, 2
101, 3
102, 1
103, 1
103, 2
etc
I would like to aggregate together to make the following entries:
ID, "Items"
101, 1 2 3
102, 1
103, 1 2
etc
I was looking at Dlookup but couldn't get it working properly. I have a control which has the calcualtion:
dlookup("[item]", "[QryList]", "ID = [ID from QryList])"
I realise that the suntax is not quite correct but I can't get my head around what is correct.
Any help is much appreciated.
I would like to aggregate a few entries together (from an access) query in a single entry on a control (or subform).
The results set looks like this:
ID, Item
101, 1
101, 2
101, 3
102, 1
103, 1
103, 2
etc
I would like to aggregate together to make the following entries:
ID, "Items"
101, 1 2 3
102, 1
103, 1 2
etc
I was looking at Dlookup but couldn't get it working properly. I have a control which has the calcualtion:
dlookup("[item]", "[QryList]", "ID = [ID from QryList])"
I realise that the suntax is not quite correct but I can't get my head around what is correct.
Any help is much appreciated.