Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UNION does not get the record on specific environment
Message
 
 
To
13/11/2002 12:47:41
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00721818
Message ID:
00722513
Views:
15
Michel,

I was wondering if you had a table in the current work area, that had a column name the same as one of your where clause items that wasn't aliased in the select.. but the code sample you posted didn't so I dismissed that possibility. I should have gone ahead and asked anyway, it might have gotten you to the solution a little faster.

>Unpredictable results will occur if you insert a WHERE clause having an alias which is not used in the SQL. As soon as I discovered it and replaced it with the proper alias, all started to work as expected.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform