Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Filter fro view- IN option
Message
 
À
05/10/1998 22:39:58
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00144066
Message ID:
00144121
Vues:
27
>>View parameters want to be single values. For the view you are trying to create try it his way;
>>
>>
>>cListCities = THISORM.cCities
>>SELECT *;
>> FROM geo!homechk;
>> WHERE ALLTRIM(Homechk.city) IN (&cListCities);
>> ORDER BY Homechk.city, Homechk.lastname, Homechk.firstname
>>
>
>Jim,
>
>Does this mean I have to create the view in the Init of the form instead of the view designer or should the & be a ? ?

Bruce,

You canc reate it in the view desinger, I think. The ambersand is an ambersand not a question mark. It does a macro expansion of the memory variable.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform