the system is designed to record different projects details. each project has a marking scheme.applicants are invited to make submission for a project and they are then scored based on the specified marking scheme. this data is entered to tblproject, tblsubmission and tblmarkingscheme. projectID is the primary key in tblprojects that provides parent/childlinks
tblmarkingscheme has schemeid (PK) and projectid and room for 10 differnt categories. ie. schemeDesc1to10, MaxMarks1to10, Passmark1to10 and PassFailOnly1to10. a category could have a score or could be a straight pass or fail category so for example you could have the following:
cat1 - price - maxmarks 100, pass mark 90
cat2 - tax compliant - pass or fail only
cat3 - skill - maxmarks 100, pass mark 90
and so on for 10 categories.
so in my report i want to show the applicant score and how that compares to the marking scheme. the main report shows each applicant's scores. subreport1 shows the marking scheme for this project. subreport2 shows the winning appliant score. i have the following code in the on load event of the marking scheme subreport. i have similar code in the winning applicant report on load event.
If Me.MaxMarks1.Value = 0 Then
Me.MaxMarks1.Visible = False
End If
If Me.PassFail1.Value = -1 Then
Me.Lbpassfail1.Visible = True '(and so on for 10 categories)
End Sub
note passfail1-10 is a tick box on data entry. so on report if it is -1 i want to display lable with "Pass/Fail"
in theory i want the following:
if cat1 has max and pass marks i want to hide passfailonly1
if cat2 has passfail only i want to show passfailonly2 and hide totalmark2 and passmark2 and so on
again this code works when i click on the report in Report view. if i open in print preview it does not work
am i making very hard work of this?