Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Views
Message
 
 
À
23/11/1999 14:15:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Re: Views
Divers
Thread ID:
00294494
Message ID:
00294503
Vues:
24
>Hi.... I'm a new user of foxpro and i have a very simple question... is there any logical reason to build a view that is the exact replicate of the table??
>
>Thanks

Not in terms of selecting all the records. I create parameterized views that include all fields but only a select number of records that meet a certain value of a parameter. e.g.:
create sql view my view as ;
   select * from mytable where city = ?cCity ;
   order by whatever
Option #1:

use MyView Nodata
cCity = "Dallas"
requery("MyView")

Option #2

cCity = "Dallas"
use MyView
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform