Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with ORDER BY
Message
De
30/08/1999 19:44:06
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00259092
Message ID:
00259438
Vues:
19
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!!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform