Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating SQL View
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00685149
Message ID:
00689184
Views:
27
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform