Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Column not found in SQL select
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Column not found in SQL select
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01033245
Message ID:
01033245
Vues:
51
I have a sql select statement that I must be doing something simple to mess up:
(simplified version of code....)
select *, iif("M"$pmdata.fterms,1,2) as fdatedue ;
from pmdata, inv_pend where fdatedue = 1
The message I get is "column fdatedue not found"

If I run without the where clause, I get the column, named and populated just how I want.

How do I reference a calculated column in a where clause?
Steve Howie, owner
DaSH Technology
Denver, CO
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform