bhutz
03-21-2001, 10:07 AM
I have a form with the fields weight and price on it.
I want to be able to have something that calculates the price automatically after a weight has been entered using a query or code, and the price is entered into the price field.
The Price is to be selected from a range of value according to the weight, e.g. between 2kg and 4kg is £7.5 and between 4kg and 6kg is £8 and so on.
I have used a query which prompts for the weight and when entered it returns the value but doesn't place it in the price field.
I have tried using a macro to this and i have been able to select the price retrived from the query and it is highlighted but i don't know how to get it from the query to the form.
Pls help me because i am literally goin crazy over this problem
I want to be able to have something that calculates the price automatically after a weight has been entered using a query or code, and the price is entered into the price field.
The Price is to be selected from a range of value according to the weight, e.g. between 2kg and 4kg is £7.5 and between 4kg and 6kg is £8 and so on.
I have used a query which prompts for the weight and when entered it returns the value but doesn't place it in the price field.
I have tried using a macro to this and i have been able to select the price retrived from the query and it is highlighted but i don't know how to get it from the query to the form.
Pls help me because i am literally goin crazy over this problem