Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Being Stupid about SQL statement
Message
De
25/01/2001 12:50:06
 
 
À
25/01/2001 12:40:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00468592
Message ID:
00468606
Vues:
22
Okay, being stupid, appears that a where clause is invalid in a subquery.



>In VFP 5.0 I seem to be having a problem with a subquery. I can run the subquery stand alone and it works fine. Please someone tell me what I'm not seeing.
>
>****
>
>SELECT uniqueid,number,date,type,sn,payee1,document from incoming ;
> where BETWEEN(date,Thisform.sdate.value,thisform.edate.value) ;
> and number NOT IN (Select number from receipts ;
> where BETWEEN(letterdate,Thisform.sdate.value,thisform.edate.value) ;
> and lettertype = [I]) ;
> order by number ;
> into cursor curLetter NOFILTER NOCONSOLE
>
>*****
>
>Ideas?
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform