BillHesson
Registered User.
- Local time
- Yesterday, 17:51
- Joined
- Mar 31, 2005
- Messages
- 15
Hello,
I am trying to get data from a specific record in a sub form. and save a result in the same record.
specifically:
I am using the following fields
"teacher type","Class", "Step", "Hours", "Pay"
I have two teacher types, Contract and hourly. a teacher can be either of these or both. I am taking the class and step info from the subform, looking up the data in a table to determine their pay and saving it to the "pay" field.
this works fine as long as I only have one record. if I add the second record the calculation changes bot of the records "Pay" field value to the same thing. what I want to do is have it only calculate the pay for the contract teachers and have it saved to the proper record and the same for the hourly teachers.
I have seperate routines for the calculation of each type.
Any help will be appreciated!!
Bill Hesson
bhesson@guhsd.net
Tech Specialist II
El Cajon Valley High School
I am trying to get data from a specific record in a sub form. and save a result in the same record.
specifically:
I am using the following fields
"teacher type","Class", "Step", "Hours", "Pay"
I have two teacher types, Contract and hourly. a teacher can be either of these or both. I am taking the class and step info from the subform, looking up the data in a table to determine their pay and saving it to the "pay" field.
this works fine as long as I only have one record. if I add the second record the calculation changes bot of the records "Pay" field value to the same thing. what I want to do is have it only calculate the pay for the contract teachers and have it saved to the proper record and the same for the hourly teachers.
I have seperate routines for the calculation of each type.
Any help will be appreciated!!
Bill Hesson
bhesson@guhsd.net
Tech Specialist II
El Cajon Valley High School