?
Solved

Count Query using Multi-Valued Field

Posted on 2011-09-20
2
Medium Priority
?
257 Views
Last Modified: 2012-08-13
Dear Experts,

In Access 2010 I am trying to build a query from which I can produce a set of stats (basic counts).  However the field I need to analyse is a multi-valued field.  (e.g. Commodities, Global markets, FX)

Is there a way using a simple IIF expression that will count the number of records where say "FX" appears somewhere in the field or some other means to perform the count

Many thanks

0
Comment
Question by:correlate
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
shaydie earned 2000 total points
ID: 36570579
Something like this?

SELECT Count(*) AS RecordCount
FROM TableName
WHERE (((MultiValueField.Value) Like "*FX*"));
0
 

Author Closing Comment

by:correlate
ID: 36573526
Perfect, thank you
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question