Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Do a Calculated Column?
Message
From
20/01/2007 18:20:56
James Hansen
Canyon Country Consulting
Flagstaff, Arizona, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
How To Do a Calculated Column?
Miscellaneous
Thread ID:
01187444
Message ID:
01187444
Views:
68
I have a table with distance and time and wanted to add a "calculated column" to figure the speed dynamically on forms and in calculations, but haven't found a good way to do it.

First shot was adding the calculated column to the SQL retreival command in the BO, but that never got updated, even after saving a record.

Next I tried adding an "expression column" to the dataset in in the HookPostGetData method of the BO. That got updated when I saved the data, but not before. The displayed value on the form and the value used in expressions in the code did not change until I saved the record.

I tried adding a property to the business entity object, but then I couldn't bind a control to it.

Any suggestions for how to get this to work without saving the record?

...Jim
Next
Reply
Map
View

Click here to load this message in the networking platform