M
Mark Hughes via AccessMonster.com
Hi all,
I'm completely new to access and am trying to create a simple form/subform.
The main form will include:
employee_number,
forename,
surname,
total_leave,
leave_remaining (to be calculated)
The subform will include:
week_beginning,
Mon,
Tue,
Wed,
Thu,
Fri,
Sat,
total (to be calculated)
What I'm trying to achieve is this:
When the user inputs into the main form the employee's details, they will
input the employees leave entitlement. Then in the subform they will input
any leave taken. I would like the system to work out a total for that week
(Mon+Tue+Wed, etc) and then show this in a 'total' field. THEN, the system
to give a running total on the main form of the leave remaining
(total_leave minus the subform_total).
I've tried this using queries for the calculations, but when I do a subform
based on the query I keep getting 'You have chosen fields from record
sources which the wizard can't connect.
Any ideas anyone? I'm getting sooooo confused with the way access handles
calculated fields...
Thanks
Mark
I'm completely new to access and am trying to create a simple form/subform.
The main form will include:
employee_number,
forename,
surname,
total_leave,
leave_remaining (to be calculated)
The subform will include:
week_beginning,
Mon,
Tue,
Wed,
Thu,
Fri,
Sat,
total (to be calculated)
What I'm trying to achieve is this:
When the user inputs into the main form the employee's details, they will
input the employees leave entitlement. Then in the subform they will input
any leave taken. I would like the system to work out a total for that week
(Mon+Tue+Wed, etc) and then show this in a 'total' field. THEN, the system
to give a running total on the main form of the leave remaining
(total_leave minus the subform_total).
I've tried this using queries for the calculations, but when I do a subform
based on the query I keep getting 'You have chosen fields from record
sources which the wizard can't connect.
Any ideas anyone? I'm getting sooooo confused with the way access handles
calculated fields...
Thanks
Mark