Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Order by doesn't work for some reason
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Order by doesn't work for some reason
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01388274
Message ID:
01388274
Views:
74
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
Next
Reply
Map
View

Click here to load this message in the networking platform