Solved

Count Query using Multi-Valued Field

Posted on 2011-09-20
2
245 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
2 Comments
 
LVL 7

Accepted Solution

by:
shaydie earned 500 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
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…
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now