Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View vs Cursor
Message
De
02/10/2000 16:29:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00423633
Message ID:
00423730
Vues:
16
>>One of the things that I have run up against is that a view is harder to maintain if you are changing or adding views once you ship a application....

>Why is it harder?
Well I have to get my hands on the table or write code to add the view in the field. OTOH, with a cursor I just change the code at the office only...

>When you have a new table you have to add that table to the dbc
>When you have a new view you have to add the view definition to the dbc.
>So far nothing difficult

Not really difficult but adds time to the app vs a cursor if you don't need a view

>The only thing is that if you have read-write views that you also have to set the properties of the view to do that.
>I agree that you need more code for a view but it is possible.

I was just looking for validation or experiance on the cursor vs the view. Is there a reason to do the extra coding to use a view when you don't need the extra features of a view over a cursor? I can create an updatable cursor too but it seems to me to be easier to go the view route when I need to update from a subset of data from tables....


>They also told me to look at eView (from the files section) for shipping views. You may also look at that one

I have eView it is nice :o)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform