Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One Record or All Records in same view.
Message
De
21/08/2008 12:49:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01340612
Message ID:
01340830
Vues:
12
>>I have several view definitions where I'd like to return either a single record, or a group of them(all in some cases), so I can run the same reports and actions against the one/many without creating two versions of everything. Right now, this is accomplished with a WHERE clause of IIF(EMPTY(?vp_PrimaryKey), .T., Table.PrimaryKey = ?vp_PrimaryKey) . The IIF and EMPTY aren't optimizable - is there a better way to do this that is?
>
>Is Table.PrimaryKey a character or numeric?

Integer primary key.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform