I have a stored procedure that updates a user defined field on the Items form. I want this procedure to run every time the item record changes to another record. What is the best way to do this?
Setup an event handler. Usually i think there is already one called itemchanged() in the items form. Add this stored procedure as a method call in the last sequence of that event(in this case the event would be itemchanged()). It would execute the procedure everytime the item is loaded into the form. You would have to define the input and output parameters on the method call as it is in the stored procedure. Hope that helps