Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with ORDER BY
Message
From
30/08/1999 19:44:06
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00259092
Message ID:
00259438
Views:
18
Mark,

This may be a dumb question but.... how do I do that in the View Designer? The SQL is READONLY and I can't see anyway of doing that with the tabbed designer.

Thanks

Pete


>Try Un-Nesting the joins:
>
>SELECT Employee.employeeid, Employee.lastname, Employee.firstname, ;
>   Log.employeeid, Log.firmid, Log.codeid, Log.logdate, Log.time, Log.rate, ;
>   Code.codeid, Code.codenum, Code.codetype, Code.codedesc ;
> FROM timepro!employee ;
>     INNER JOIN timepro!log ;
>        ON Employee.employeeid = Log.employeeid ;
>    INNER JOIN timepro!code ;
>       ON  Log.codeid = Code.codeid ;
> ORDER BY Log.firmid, Employee.lastname, Employee.firstname, ;
>  Code.codenum, Code.codetype
>
>>Also... when you use a view on a REPORT and in the report you set up some data grouping, does that override the ORDER BY of the view?
>
>No.
Peter Brama
West Pointe Enterprises

VFP is getting easier but STILL alot to learn!!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform