Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP7 and CLR
Message
De
30/09/2000 03:52:40
 
 
À
30/09/2000 02:23:53
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00420459
Message ID:
00423045
Vues:
13
Nice tip.

>Nope, this works fine. You can define a view (with eView or programaticly) with a ?&cWhere clause.
>
>for example:
>CREATE SQL VIEW "VW_ZIEKMELDING" ;
>   AS SELECT *, ;
>   FROM  verlof!ziekmelding ;
>   WHERE &?cWhere ;
>   ORDER BY zie_meldtimestamp DESC
>
>If loading the view in the DE you'll have to make sure that either cWhere exists or NoDataOnLoad is set to .t. Whenever you do your REQUERY cWhere should exists. This is the only method I know of to make a flexible where-clause in a static view.
>
>This trick only works for the Where clause (not the others) or else you might recieve a "view definition has changed" error message when the corresponding clause changes.
>
>Walter,
- Jeff
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform