Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Filter fro view- IN option
Message
 
To
05/10/1998 22:39:58
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00144066
Message ID:
00144121
Views:
26
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform