Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating totals in views.
Message
De
29/01/2001 14:42:55
 
 
À
29/01/2001 14:39:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00469681
Message ID:
00469918
Vues:
10
>Hi Fred
>
>Yeah thats a possible Fred. I considered doing it but shyed clear because I had not used the technique with views before only with tables and I had assumed that I would have had to force a disk presence for my view. Thinking about it though I guesss it is as simple as USE AGAIN myviewname.
>
>It should be pretty effective.
>
>I could establish the used again view(2) when I first establish my first view(1) so not much overhead.
>
>I take it that the view(2) will always be a complete clone of view(1).
>By that I mean whatever changes I make to records in view(1) will always be imediately impacted on view(2).

Caution here. View(2) may NOT be an exact clone of view(1) as it may contain more up-to-date data than view(1). Really depends on how often the backend data is being updated.

>I could even create a class that creates View(2) and also contains the properties and methods for doing a range of standard totalling/calculating functions on a view.

Very useful idea.

>Unless you see anything wrong with the above I will do it that way next time.
>
>Thanks
>

See above caution.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform