Hi every body:
I have program store which appeared the new salary to the unit out
The problem is: 2 values unknown (out_salary,out _amount)
The table(info) contain 8 fields (id,code_store, code_unit,date_ rec,in_quantity ,in_s alary,in_amount ,out_quantity)
The quiry must give me the following result:
[id]
[code_store]
[code_unit]
[date_rec]
[In_quantity]
[in_salary]
[in_amount]
[out_quantity]
[out_salary] "take from [new_salary]
[out_amount] = [out_quantity]*[out_salary]
[sum_quantity] "accumulati ve summation" (In_quantity]- [out_quantity])
[sum_amount]" "accumulati ve summation" ([in_amount]- [out_amount])
[New_salary] =([In_quantity]- [out_quantity])/ ([in_amount]- [out_amount])
At last the report appeared as this
I have program store which appeared the new salary to the unit out
The problem is: 2 values unknown (out_salary,out _amount)
The table(info) contain 8 fields (id,code_store, code_unit,date_ rec,in_quantity ,in_s alary,in_amount ,out_quantity)
The quiry must give me the following result:
[id]
[code_store]
[code_unit]
[date_rec]
[In_quantity]
[in_salary]
[in_amount]
[out_quantity]
[out_salary] "take from [new_salary]
[out_amount] = [out_quantity]*[out_salary]
[sum_quantity] "accumulati ve summation" (In_quantity]- [out_quantity])
[sum_amount]" "accumulati ve summation" ([in_amount]- [out_amount])
[New_salary] =([In_quantity]- [out_quantity])/ ([in_amount]- [out_amount])
At last the report appeared as this
Comment