Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL select update to VFP 9 How to fix it
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01188473
Message ID:
01188480
Vues:
17
>It depends on what result you want. Either remove 'DateRequired' from the ORDER BY because it's not a part of the result set, or change ORDER BY to
>ORDER BY 2,1	;
>
>
>
>>SELECT 	Customer.code, Min(Ordhead.daterequired),Max(Ordhead.daterequired) ;
>>FROM 	frantisi!ordhead, Customer ;
>>WHERE 	OrdHead.CustomerID= Customer.CustomerID	;
>>GROUP   BY customer.code ;
>>ORDER 	BY DateRequired	,Customer.Code	;
>>INTO	cursor	Temp
>
>>above query works fine in VFP7 but fails with "Order by clause is invalid"
>>
>>How do I fix it?
>>Mike


Thanks,
Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform