Can someone please explain me how does function work with object in some form.
I've been reading VBA books but I can't figure it out. I was working with functions and loops in c++ but I just can't with VBA and Access 2007.
I need this.
I have form from tblPaying in which are fields PayingMathod and Price. I want to write a function that returns value of Price.
Example:
if in field PayingMethods is written "Credit Card"
then in field Price should be 1000$
And please if someone write a code can he/she explain it.
Thank you
I've been reading VBA books but I can't figure it out. I was working with functions and loops in c++ but I just can't with VBA and Access 2007.
I need this.
I have form from tblPaying in which are fields PayingMathod and Price. I want to write a function that returns value of Price.
Example:
if in field PayingMethods is written "Credit Card"
then in field Price should be 1000$
And please if someone write a code can he/she explain it.
Thank you