Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updatable Views
Message
From
09/03/1998 10:15:58
 
 
To
09/03/1998 09:44:16
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00083366
Message ID:
00083382
Views:
26
>I want to setup a grid wherein the data source is an updatable view.
>
>The view is from 2 tables wherein one table can be modified from the grid while the other table will be used primarily as a lookup.
>
>How do I setup the view?
>
>I can easily create updatable views from a single or multiple tables but all tables are updateable.
>
>What if one of the tables in the view is just a lookup table?

In your View, you can select all fields to be updated, or just the individual ones that you want. In the Update Criteria, select the fields you want updated in the column with the pencil. You will also have to have the key fields identified in the other column that has the key. Then, in your grid, set your recordsource to the name of the view. If your putting tables and views in your Data Environment, then you need to put your view in the Data Environment. Then, it will show up in your properties sheet in the recordsource area.

I have been using updatable views for several months now, and they work really kool. They save me a lot of time.

Let me know if I can help any more.

John Henry
John Henry
State of Michigan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform