Solved

A calculated column cannot be saved without a valid expression in the Expression property

Posted on 2013-05-16
4
4,271 Views
Last Modified: 2013-05-16
I just tried to run a MakeTable query that uses a table that has a calculated field, and got this error. Where is this "Expression property"?

The calc field works fine in the Select query...

Thanks
0
Comment
Question by:mlagrange
[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
4 Comments
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 250 total points
ID: 39171698
" a table that has a calculated field,"

Again, another "feature" that is "cool" but sometimes creates problems...

1. You should not be making a table that contains a calculated field (derived data).
Just make the table and do the calculation in a query (Not in the new "calculated" table datatype)


2. Besides, when I try to do this (run a Make table query based on a table with a calculated field), I get the error:
"Calculated Columns are not allowed in SELECT INTO Statements"

So again, these new datatypes are cool, but they just create too much confusion/frustration sometimes...

JeffCoachman
0
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 250 total points
ID: 39171772
Another voice from the anti-calculated field chorus:

http://allenbrowne.com/casu-14.html
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 39171821
To be fair, I know that sometime it is needed to Store calculated data.

This is why it is sometimes helpful if you state the need for doing this...

;-)

JeffCoachman
0
 

Author Comment

by:mlagrange
ID: 39172275
"the anti-calculated field chorus" - that's funny!
ok, thanks - that's what I've always done in the past (query that does all the calc's)
I was just hoping that M$ had actually provided something useful, but I should have known better. SQL Server has had "Computed Columns" since, what? version 2000?
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

617 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