C
Chris
All the values that are genreated from the calcualtions are completely
different.
Is there any other way you suggest doing this...??? Heres what i have
1 have 2 tables
(a) Meal Uptake:
(b)
School Name* (Primary key)
Meal Id * (Primary key)
Cost Centre
School Name
No Pupils
No tickets
No days
Without tickets
Possible No meals
Supplied tickets
No Meals
% Uptake
What i need is when a user selects a school (from combo box list) my
form should then display the no. pupils and cost centre which is
related to this school.
The no.pupils figure is then multiplyed by the no days (which user
selects from combo box either 1,2,3,4,5) this gives possible no meals.
The no. meals is then divided by possible no meals and expressed as a
percentage for % uptake
I need all these figures to be in my tables as they are going to be
used for monthly reporting for schools based on the possible no meals,
% uptake etc.
What iv done is set up a combo box with school name, no pupils, and
cost center but set columns so that user does not see no. pupils & cost
center but these then appear in text boxes where iv done all the
calculation that i stated above and these all work but dont save into
the required fields in my tables....!!!
Is there an easier way to set this up or anyway that these values can
be saved as am comfused??? as to what to do and what code and where to
put it HEEEEEEEEEEEELLLPPPP its doing my head in
different.
Is there any other way you suggest doing this...??? Heres what i have
1 have 2 tables
(a) Meal Uptake:
(b)
School Name* (Primary key)
Meal Id * (Primary key)
Cost Centre
School Name
No Pupils
No tickets
No days
Without tickets
Possible No meals
Supplied tickets
No Meals
% Uptake
What i need is when a user selects a school (from combo box list) my
form should then display the no. pupils and cost centre which is
related to this school.
The no.pupils figure is then multiplyed by the no days (which user
selects from combo box either 1,2,3,4,5) this gives possible no meals.
The no. meals is then divided by possible no meals and expressed as a
percentage for % uptake
I need all these figures to be in my tables as they are going to be
used for monthly reporting for schools based on the possible no meals,
% uptake etc.
What iv done is set up a combo box with school name, no pupils, and
cost center but set columns so that user does not see no. pupils & cost
center but these then appear in text boxes where iv done all the
calculation that i stated above and these all work but dont save into
the required fields in my tables....!!!
Is there an easier way to set this up or anyway that these values can
be saved as am comfused??? as to what to do and what code and where to
put it HEEEEEEEEEEEELLLPPPP its doing my head in