Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening Balance
Message
From
15/06/2008 15:03:49
 
 
To
15/06/2008 02:23:51
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01324211
Message ID:
01324274
Views:
10
It sounds as if you know the receipt, payment and balance and want to find the opening.

This will do that.

UPDATE table1 SET OPENING = balance + (paymentt - receipt)

Is that what you wanted?


<
Table1 has following Five Fields

--Date---Opening---Receipt---Payment---Balance
02/06/08------0--------500----------100---------400
03/06/08------0--------200----------300---------300
04/06/08------0--------800----------200---------900


How to fillout Opening columns as

--Date---Opening---Receipt---Payment---Balance
02/06/08------0----------500---------100---------400
03/06/08----400--------200----------300---------300
04/06/08----300--------800---------200---------900
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Previous
Reply
Map
View

Click here to load this message in the networking platform