Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select one or the other
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00302862
Message ID:
00302886
Views:
17
Mark,

Try something like this;
SELECT Field3, Field2 ;
  FROM MyTable ;
 WHERE Field2 IN ("X","Y","Z") ;
   AND (Field1 = "2" OR EMPTY(Field1)) ;
 GROUP BY 2 ;
 INTO CURSOR MyResult
Previous
Reply
Map
View

Click here to load this message in the networking platform