Calculated attributes not saved in Database

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Lenkost
Posts: 2
Joined: Sun Feb 18, 2007 6:12 am

Calculated attributes not saved in Database

Post by Lenkost »

Hi Support,

Is it possible to have calculated attributes which are not saved in the database but calculated from other attributes as needed in forms or queries and then discarded?
I need to create Data Entry form with totals and other formulas displayed on the form during data entry but not saved? Is there any other way to display calculated items on the Data Entry form?

Thanks, Lenkost.
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

No, at the moment calculated attributes are always persisted in the database. You can use a non-persistent object, though, with calculated fields. You can create an instance of such an object and it will then be automatically discarded by the system
Aware IM Support Team
pbrad
Posts: 781
Joined: Mon Jul 17, 2006 11:03 pm
Location: Ontario, Canada

Post by pbrad »

How about a rule that runs on save: If CalculatedField IS DEFINED then CalculatedField=0. At least that way they will all be consistent the next time that the form is opened.
Post Reply