H
hermondo
New member alert, am a bit of a novice with Access, but learning quickly!
I have a form 'frmjobplan' with a subform 'frmhours' which contains job
number, date, hours and machine process. Basically the user will be on the
frmjobplan on a certain job number, this job number is linked to the
jobnumber in the subform with master and child.
The problem im having is with an 'Actual Hours' box on the main form which i
want to display a total of hours per job in the subform.
I have added a txt box in the footer of the subform 'frmhours' with the
formula ""=Sum([Hours])"" which when i click the frmhours on is own, it
successfuly displays the sum of all the hours, but not by job.
I have added this to the control source of the 'Actual Hours' box on the main
form
=frmhours.Form!sumofhours
but when the form is opened it just displays "name?" in the Actual hours box.
Can anybody help?
Thanks in advance!!!
I have a form 'frmjobplan' with a subform 'frmhours' which contains job
number, date, hours and machine process. Basically the user will be on the
frmjobplan on a certain job number, this job number is linked to the
jobnumber in the subform with master and child.
The problem im having is with an 'Actual Hours' box on the main form which i
want to display a total of hours per job in the subform.
I have added a txt box in the footer of the subform 'frmhours' with the
formula ""=Sum([Hours])"" which when i click the frmhours on is own, it
successfuly displays the sum of all the hours, but not by job.
I have added this to the control source of the 'Actual Hours' box on the main
form
=frmhours.Form!sumofhours
but when the form is opened it just displays "name?" in the Actual hours box.
Can anybody help?
Thanks in advance!!!