Updating a Calculated field in Stored Procedure
Posted: Tue 17 Jul 2012 22:15
I have a TMSStoredProcedure that get a set of records. Included in it is an integer value "Age" and date "DateOfBirth". I do an internal calc for the New age and update the records before displaying them.
I only want to update records if another change is made to the records (Age is readonly). So set the field type to ftCalculated. Which worked in that I could edit the value without triggering an Update.
I am doing the updates with another Stored procedure that is called in the UpdateSQL, which includes :Age as a parameter. But I am getting an error: "Not found field corresponding parameter Age." during the Post. Yet, I have a field defined for it and obviously have the column. How can I include this value in the updates?
I only want to update records if another change is made to the records (Age is readonly). So set the field type to ftCalculated. Which worked in that I could edit the value without triggering an Update.
I am doing the updates with another Stored procedure that is called in the UpdateSQL, which includes :Age as a parameter. But I am getting an error: "Not found field corresponding parameter Age." during the Post. Yet, I have a field defined for it and obviously have the column. How can I include this value in the updates?