Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pview, combo and grid
Message
From
02/05/2000 09:21:05
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00364856
Message ID:
00365038
Views:
17
>Any view (parameterized or not) will update its underlying table(s) if set up correctly. Open the view designer and go to the Update Criteria tab. Be sure you've checked the "Send SQL Updates" box (this is the usual problem when views won't update - it defaults to UNchecked). Then mark the fields you want to update, and mark the key field.

>When this is done, a view will save to the underlying tables by calling TableUpdate(). If your underlying tables are open and buffered, you'll have to update them AFTER updating the view.

How do i determine the key field? Does it have to be a unique id value?

Could you better explain that last part? I get from it that before i use the =Requery() that i should use TableUpdate (on the view?) I don't understand what you mean about updating the tables after updating the view. (tableupdate(view), then tableupdate(maintable) then =requery(view)?)

I'm sure by now UT'ers know that PBP trains developers by making vague requests and then pushing up the deadlines. Thanks again for all your help.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform