?
Solved

Calculated field in a table

Posted on 2013-11-23
2
Medium Priority
?
251 Views
Last Modified: 2013-11-23
I'm trying to include a calculated field in table design.  The fields I'm using for the calculation are:

[LeadFromEd]+[AgentLead]+[CommissionSoldListing]

But I'm also trying to account for empty values by using:

Nz([LeadFromEd],0)+Nz([AgentLead],0)+Nz([CommissionSoldListing],0)

But it won't let me.  I get an error that reads,

The expression Nz([LeadFromEd],0)+Nz([AgentLead],0)+Nz([CommissionSoldListing],0) cannot be used in a calculated column.

????

--Steve
0
Comment
Question by:SteveL13
[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 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 39671485
this is not a good  idea.

you can always derived a calculated column using a query.
0
 
LVL 18

Expert Comment

by:Jerry Miller
ID: 39671509
I agree with capricorn1 that it is not a good idea. If you need the values, use a query to determine your derived columns. It violates normalization rules.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

777 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