Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL select brings record over even when not match
Message
From
15/09/2005 11:18:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/09/2005 11:14:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01049862
Message ID:
01049916
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
Sorry forgot to CC my other reply. Left join causes it. Move that partt to where clause.
Cetin

>No, unfortunately it does not. The way this is going, I may just have to have another sql statement before this on that grabs all students that are not inactive and continue with the result table.
>
>Thanks for the help.
>Beth
>>
>>Beth,
>>Considering "inactive" casing is right in your code, might it be that returned rows with "INACTIVE" are something like [whitespace or nonprintablechar]+"INACTIVE"?
>>(or with set ansi on after INACTIVE has chars that's not a space).
>>
>>Does
!(ltrim(stu.enrollment_status) == 'INACTIVE')
help?
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform