Hi
Can someone help me with functions. I'm just starting to learn how to use vba with access.
I wrote simple function that calculates difference of two fields:
In form in which I would like to use this function , I made Text box and in it wrote
And when I switch to Form view in that text box instead of result I get
Thanks
Can someone help me with functions. I'm just starting to learn how to use vba with access.
I wrote simple function that calculates difference of two fields:
Code:
Public Function oduzimanje(IznosPlaćanja As Double, CijenaTečaja As Double) As Double
oduzimanje = (CijenaTečaja - IznosPlaćanja)
End Function
Code:
=oduzimanje([Iznos plaćanja];[Cijena tečaja])
Code:
#Name?