I have a table where I keep stock of my "Scheduled drug".
The table contains fields as follow:
"SerialNumber"(Numeric and autoincremental)
"Date" (date)
"Descriptions"(Alphanumeric)
"AmountIn"(Numeric)
"AmountOut"(Numeric)
"Balance"(Numeric)
My data entry form contains a simple "table which shows all fields" and the necessary push buttons for records handling.
I wish to have a "running balance" shown on the form as I enter new records. How do I go about doing it?
Example:
SN Date Description AmtIn AmtOut Balance
==================================================
100 8/1/02 A(new stock) 500 0 500
101 8/1/02 B 0 50 450
102 8/2/02 C 0 25 425
103 8/4/02 D 0 400 25
104 8/6/02 E 0 25 0
105 8/8/02 A(new stock) 400 0 400
.
.
==================================================
It was easy doing it using Excel..
The table contains fields as follow:
"SerialNumber"(Numeric and autoincremental)
"Date" (date)
"Descriptions"(Alphanumeric)
"AmountIn"(Numeric)
"AmountOut"(Numeric)
"Balance"(Numeric)
My data entry form contains a simple "table which shows all fields" and the necessary push buttons for records handling.
I wish to have a "running balance" shown on the form as I enter new records. How do I go about doing it?
Example:
SN Date Description AmtIn AmtOut Balance
==================================================
100 8/1/02 A(new stock) 500 0 500
101 8/1/02 B 0 50 450
102 8/2/02 C 0 25 425
103 8/4/02 D 0 400 25
104 8/6/02 E 0 25 0
105 8/8/02 A(new stock) 400 0 400
.
.
==================================================
It was easy doing it using Excel..