ms-access


Data type mismatch in criteria expression Access error


In Access, I have several different expressions going (since the code is too long to put into one expression field). Here is an example of the expression:
ConsultativeSellingScore: (IIf(Eval([CallControl] In
(10,5,0)),10,0)+IIf(Eval([QualifiedCallerEligibility] In
(10,5,0)),10,0)+IIf(Eval([NextSteps] In
(8,4,0)),8,0)+IIf(Eval([NeedsAssessment] In
(14,7,0)),14,0)+IIf(Eval([PlanRecommendation] In
(14,7,0)),14,0)+IIf(Eval([AskedForSale] In
(18,9,0)),18,0)+IIf(Eval([OvercameObjections] In (10,5,0)),10,0))
I have tried reading the articles in regards to the data type mismatch error for Access, but unable to figure out what I'm doing wrong. In the table the field is Number and I have the field criteria for the expression as general number. As you can see in the code, I have also stripped out the quotations from around the numbers, so it shouldn't be viewing the expression as text. If anyone has any idea what the issue is, I'd greatly appreciate the help.
IIf(IsNull([UtilizedScript]),0,6)+IIf(IsNull([GatheredInfo]),0,14)+IIf(IsNull([Hold]),0,6)+IIf(IsNull([CallDisposition]),0,10)+IIf(IsNull([BuiltRapport]),0,10)+IIf(IsNull([EffectiveCommunication]),0,6)+IIf(IsNull([PhoneEtiquette]),0,10)+IIf(IsNull([Ownership]),0,8)+IIf(IsNull([UsedResources]),0,8)+IIf(IsNull([ProfessionalConduct]),0,20)+IIf(IsNull([AccurateInformation]),0,18)+IIf(IsNull([CallControl]),0,10)+IIf(IsNull([QualifiedCallerEligibility]),0,10)+IIf(IsNull([NextSteps]),0,8)+IIf(IsNull([NeedsAssessment]),0,14)+IIf(IsNull([PlanRecommendation]),0,14)+IIf(IsNull([AskedForSale]),0,18)+IIf(IsNull([OvercameObjections]),0,10)
solved my problem- utilized this and the other half of the problem and then did a separate query to calculate the percentage.

Related Links

How to use MS access on a server where MS Office is not installed
How do i import and eliminate first two row of website in msaccess while importing html pages
Multi criteria dlookup issue
Count all checkboxes in ms-access form…what am I doing wrong?
How do I set a default selection to a Listbox in MS Access
Microsoft Access not overwriting when exporting a query to excel
Using ms-access command-line tag /x but database opens read-only
Criteria with TempVars - but prompt user if tempvars is null
Crazy Cursor in TextBox on Table from ODBC database
Count of dates “This Month” to appear in a text box in Access Report
Issue with Removing References in Microsoft Access
Turn Access to Application
Powerpivot + Access + SSAS Cube
How to make the input dates which user type in the prompt show in report ? MS Access 2013
Access 2016 create table with field properties for combobox
MS Access Date Grouping is not working in report

Categories

HOME
google-chrome-extension
gerrit
omnet++
deezer
heroku
kde
mfc
plone
session
iot
cplex
youtube-dl
jsrender
upload
qore
webrequest
facebook-php-sdk
izpack
alignment
remote-access
task
visual-studio-2005
messages
hex-editors
carthage
oxyplot
beyondcompare
firefox-webextensions
visjs
riot.js
physics-engine
accessor
xpages-ssjs
kannel
atlassian-crucible
jaxb2
tinymce-4
azure-sql-database
hexo
fusionpbx
devextreme
simplexml
espeak
dynamics-crm-2013
az-application-insights
reportbuilder
tasker
graphenedb
ensembles
sql-server-agent
firebase-admin
nxlog
rails-routing
python-c-api
ionicons
mu
idisposable
brightcove
directory-structure
pg-dump
webdriverjs
word-vba-mac
time-and-attendance
measures
gstreamer-0.10
angstrom-linux
superstack
master-slave
suffix-tree
php-internals
rhino-servicebus
netmq
iad
google-places
marching-cubes
mmc
iiviewdeckcontroller
dundas
tween
oxwall
fpml
contenttype
fluentautomation
cloud-connect
uv-mapping
jmapviewer
listings
soundtouch
back-stack
padarn
chronoforms
random-seed
pysimplesoap
newtonscript
heartbeat
self-extracting
sql-server-profiler
filtered-index
dbal
libs
swing-app-framework
zune
commodore

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App