Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange calculation
Message
From
05/11/2008 10:44:47
 
 
To
05/11/2008 10:03:42
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01359766
Message ID:
01359852
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform