There are 2 fileds,
i want to sum the value in filed2 with the identicle filed value of the field1
ex: for filed1 for value 07 is repeating twice so i want to sum the corresponding value in the filed2 (ie. 10 + 20 = 30)
For the above requirement i have to write UDF, please help in how to write this code or if you have the same code please give the same.
Thanks in advance
Please help me out ASAP.