Thanks for the suggestion. You got me going. I went a bit further and found
that I can do that by writing a field validate function for the SQL view for
that field. Now it takes care of it without worrying about each control.
>From the UI, Update the ElapsedTime field from Valid() of the Textbox (or any other control you are using to edit EndTime field.)
>
>>I have some tables I will use to create an SQL view.
>>Here are a couple of fields in the view:
>>view.BeginTime <- Table1.StartTime
>>view.EndTime <- Table1.StartTime + Table1.ElapsedTime
>>
>>If the original table is to be updatable what do I need
>>so that Table1.ElapsedTime is updated correctly when
>>view.EndTime changes?
>>
>>Thanks for your help.
-----------------------------------------------------------------
Paul Lee ........... Abri Technologies .........
http://abri.com/ 'Recover' - top rated FoxPro/dBase file repair utility.