potts
Registered User.
- Local time
- Today, 00:09
- Joined
- Jul 24, 2002
- Messages
- 87
It's been a while since I built an access application and so this could be relatively simple - might just need the cobwebs cleared out of the old noggin!
I have a table that contains two variables (var1 and var2) and the ratio of one to the other i.e.
ratio = var1 / var2
Now I know I can build a query to calculate one of the three variables (ratio, var1, var2) provided I select two of them for the user to enter - simple enough calculation.
However, what I would really like to do is make the whole thing a bit more fluid by permitting the user to enter any two of the three variables and have the third one calculated. So my questions are these:
1. What do I write to build the function
2. Where do I attach the function
Any help would be greatly appreciated
Thanks
I have a table that contains two variables (var1 and var2) and the ratio of one to the other i.e.
ratio = var1 / var2
Now I know I can build a query to calculate one of the three variables (ratio, var1, var2) provided I select two of them for the user to enter - simple enough calculation.
However, what I would really like to do is make the whole thing a bit more fluid by permitting the user to enter any two of the three variables and have the third one calculated. So my questions are these:
1. What do I write to build the function
2. Where do I attach the function
Any help would be greatly appreciated
Thanks