Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with ORDER BY
Message
 
 
To
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:
00259591
Views:
16
You can still drag your mouse over the code and hit Control-C to copy it. Then open a PRG and Control-V to paste it.

>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.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform