Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving grid data back to original table
Message
From
09/10/1997 14:31:13
 
 
To
09/10/1997 14:28:37
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00053895
Message ID:
00053937
Views:
26
>Ok, clueless that I am, I don't believe I have buffering on my views. I understand the general idea of buffering but could someone explain this as it relates to views (and how I do it)?

A view works like a table. If you apply a buffer, when doing TABLEUPDATE() on it, the data will be saved into your related tables.

>Two things to note: (1) some of my views actually come from the joining of another view previously created and a table. Does this affect anything?

It should work.

>(2) I'm a bit confused with the View Designer's "Update Criteria" tab options. Specifically, I don't have any one key field(s) in these particular views. A combination of all 4 fields in the view results in a unique combination/key. I'm not sure then if I can use the "Key Field" and "Updatable" switches for my views. I've assumed I can't thus my rationale for trying to save the form data to the tables via code.

In order for the view to be able to update a field, it needs to have a key field. Otherwise, it won't be able to know the relation record.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform