Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Query
Message
De
26/09/2016 10:55:08
 
 
À
26/09/2016 10:42:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01641334
Message ID:
01641335
Vues:
54
>Sir I have these code
>
>
>UPDATE cr_sale SET weight=SUM(crsalp.qty*crsalp.weight) from crsalp WHERE cr_sale.vou_no=crsalp.vou_no
>
>
>it says:
>
>File 'sum.prg' does not exist.
>
>Please help
UPDATE cr_sale SET weight= crsalp.TotalWeigth;
FROM cr_sale;
INNER JOIN (SELECT vou_no, SUM(qty*weight) AS TotalWeigth;
                   FROM crsalp;
            GROUP BY vou_no) crsalp ON cr_sale.vou_no=crsalp.vou_no
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform