Its great sir... many thanks for your efforts.... Please just a one thing I want to add sum of FinalValue1, FinalValue2 and FinalValue3 using same function. Thanks again
Sarsahi = 9
Marla = 20
Kanal = Any Digit (No limte) if we use the above mentioned Values then the answer will be like this.
Kanal = 1
Marla = 1
Sarsahi = 0
These are the Land measurement units used in our area.
For Example I need to add the values.
Kanal Marla Sarsahi
20 18 8
23 13...
Hi sir...
Need help here...
I need function in ms access is below...
This formula used here in our area for land measurements.
K = Any number no limite for K
M= 20 (20 M is equal to 1 K)
S= 9 (9 S is equal to 1 M)
K, M and S
If S is greater than and equal to 9 then 1 add up in M
For example...
Sir Many thinks for you help its work now but I have some other issues if you can solve please...
When pvVal3 increase from 9 then it should plus on in pvVal2 like below
pvVal3=10 and pvVal2=12 it should be like pvVal3=1 and pvVal2=13
same case for pvVal2 if should be (1) add up in pvVal1...
Data tyoe of these values are numbers and 2nd i defined a general module sir... As I am not very much familiar with ms access... So if it is possible to send me the db file? I will be grateful to you... Thanks for reply sir...
I am facing an error. Using MS Access 2013
Module Code:
Public Function CalcVal(pvVal1, pvVal2, pvVal3)
Select Case True
Case pvVal3 >= 9
'add up in Value_2 and the Value_3 should be <9
If (pvVal2 + pvVal3) < 9 Then
CalcVal = pvVal2 + pvVal3
Else...