Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select-SQL problem
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Select-SQL problem
Divers
Thread ID:
00750884
Message ID:
00750884
Vues:
44
Perhaps someone can help me with this Select SQL statement.

What I am after is this: if MyParent.the_seq = 1, then I want it included in the cursor. However, if MyParent.excludeit = .f. then I do not want it included in the cursor.

The following doesn't give the correct results
SELECT *;
 FROM  appdata!MyParent ;
  INNER JOIN appdata!MyChild ;
   ON  MyParent.idnumber = MyChild.idnumber;
 WHERE MyParent.the_seq = 1 ;
   AND MyParent.excludeit = .f.
Any help is appreciated.

Mel Cummings
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform