Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange calculation
Message
 
À
05/11/2008 10:44:47
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 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01359766
Message ID:
01359890
Vues:
32
>Dear Sir,
>
>Actually there are two tables, table1 and table2
>table1 has actual values
>table2 has supposed sumed values
>
>table1 has following data
>
>code--dr_amount
>--1-----24900
>--1-----70200
>--1-----71500
>--2-----14900
>--2-----10200
>--2-----11500
>
>Table2 has following data
>
>code--dr_amount
>--1-----157360
>--2-----35000
>
>I want to display table1 as following to equilize dr_amount in table2
>
>code--dr_amount
>--1-----15660
>--1-----70200
>--1-----71500
>--2-----13300
>--2-----10200
>--2-----11500
>
>there is change in only first record to adjust data according to table2
>
>Please help

And what if the difference is bigger than value of the first record?
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform