Eliminating Nulls

G

Guest

I need to eliminate nulls in my tables in order to perform
calculations. I am currently creating a new column in my
queries and using the following type of query.

ExceptionSum: IIf(IsNull([ExcpSum]),0,[ExcpSum])

The problem is that it becomes cumberson when I have many
fields that require this procedure.

How can I use VB to perform this task for an entire table
instead of long-winded querries?
 
D

Dale Fye

Actually, Access will automatically ignore Null values when doing
aggregate functions. There are times when doing what you are
suggesting might be needed, but not in most cases.

--
HTH

Dale Fye


I need to eliminate nulls in my tables in order to perform
calculations. I am currently creating a new column in my
queries and using the following type of query.

ExceptionSum: IIf(IsNull([ExcpSum]),0,[ExcpSum])

The problem is that it becomes cumberson when I have many
fields that require this procedure.

How can I use VB to perform this task for an entire table
instead of long-winded querries?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top