Multi Valued field cannot be used in a group by clause

Groovy Chick

Board Regular
Joined
Oct 10, 2017
Messages
75
Office Version
  1. 2016
Platform
  1. Windows
Hi, can someone please help me? I have an access 2010 database query. I have check box fields to tick to use for my controlled document linked references. I have added these fields and their .value fields to my query. I have added criteria to each of the vale fields (7 fields in all) so that when I run the query I can add in the document reference that I'm looking for and the query will return all records that have that document checked as relevant. The query runs but brings back multiple lines of the same document. When I try to use the group button I get an error message saying multi valued field cannot be used in a group clause. How can I do this? Many thanks.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi, sorry that I don't know how to post the query. This is the criteria that I have used
Code:
Like "*" & [Choose Document CPR Level 0 Reference] & "*" And Like "*" & [Choose Document CPR Level 0 Reference] & "*"
.
I have the linked document field and the .value field as well for each document type. For example for Level 0 linked documents I've got the Linked Level 0 Document field and the .value field.
 
Upvote 0
Multi-valued fields can be problematic and really should be avoided altogether.
They actually do not follow rules of normalization, and other more robust database programs (like SQL) do not allow them.
 
Upvote 0
You would enter multiple records into your table, instead of multi-value records.
So, if you had a record that had 4 values in the multi-value field, you should have 4 separate records instead.
 
Upvote 0

Forum statistics

Threads
1,215,743
Messages
6,126,604
Members
449,321
Latest member
syzer

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top