sql - Access 2010 Query using IIF and ISERROR -


i trying accomplish following in access 2010 query

select       unit, date, sum(iif(iserror(a),null,a)) dlp_percentage         tablea; 

where

a = (act-base)/base   

i generic overflow error. missing obvious. trying catch error in calculation , return null if error exists or result if no error. have in query. ideas have overlooked?

sum((act-base)/iif(base=0, null, base)) dlp_percentage 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -