Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View definition has been changed
Message
From
04/03/2004 07:44:37
 
 
To
04/03/2004 07:19:54
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00882994
Message ID:
00883030
Views:
7
Hi,
I have found the cause:

my SQL :
SELECT ..... INNER JOIN ... WHERE... ;
UNION ALL ;
SELECT ..... INNER JOIN ... WHERE... ;
ORDER BY 1,2,3,4      && This cause error
This SQL works fine if I
USE myView AGAIN SHARED IN 0
REQUERY()
However, it will cause error if
USE myView AGAIN SHARED IN 0 NODATA
REQUERY()           && ERROR orccured 
My current workaround is remove ORDER BY clause from this sql, and create another view just to ORDER it.

Any better way?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Reply
Map
View

Click here to load this message in the networking platform