Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Order by doesn't work for some reason
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Titre:
Order by doesn't work for some reason
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01388274
Message ID:
01388274
Vues:
73
Hi everybody,

I put the following SQL using Advanced option of the query:
select cast(evl(PEOPLE.LNAME,Entities.Name) as c(40)) as 
lName,PEOPLE.FNAME,PEOPLE.CID,GIFTS.CAMPAIGN,
GIFTS.GIFTREASON,GIFTS.GIFTAMOUNT,Gifts.GiftEvent, 
Gifts.GiftDate,GIFTS.GIFTTYPE,PLEDGES.Ptotal,PLEDGES.Ptotalpay,
PLEDGES.Pbaldue from PEOPLE 
inner join ENTITIES on PEOPLE.MIDNO=ENTITIES.MIDNO 
inner join GIFTS on GIFTS.MIDNO=ENTITIES.MIDNO LEFT 
join PLEDGES on Gifts.GSeqNo = Pledges.gSeqNo order by 8
Now, when I try to run it it gives me an error saying that Order by clause is invalid. I see nothing wrong here, would you please help?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform