D
Darhl Thomason
I have my report header list how many records of each type (i.e. Scheduled,
Standby, Pending, Completed, NoPOS) there are listed in the report. I have
an unbound text box for the first number that correctly counts the # of
Scheduled stores. =Abs(Sum([StatusName]="Scheduled")). But I cannot get
the rest of the counts to appear correctly. I know I could put additional
unbound text boxes and have it calculate the same way, but the header is
dynamic based on what criteria on my form are selected. The sub that
finishes creating the header is:
Private Sub ReportHeader_Format(Cancel As Integer, FormatCount As Integer)
strReporttitle = strReporttitle & "Scheduled"
If Forms!frmStoreData.chkStandby = True Then
strReporttitle = strReporttitle & " and Standby"
End If
strReporttitle = strReporttitle & " Stores"
txtReportTitle = strReporttitle
End Sub
I only have it looking for Standby stores at this point because I want to
get it working before I go too far forward with it.
Thanks!
Darhl
Standby, Pending, Completed, NoPOS) there are listed in the report. I have
an unbound text box for the first number that correctly counts the # of
Scheduled stores. =Abs(Sum([StatusName]="Scheduled")). But I cannot get
the rest of the counts to appear correctly. I know I could put additional
unbound text boxes and have it calculate the same way, but the header is
dynamic based on what criteria on my form are selected. The sub that
finishes creating the header is:
Private Sub ReportHeader_Format(Cancel As Integer, FormatCount As Integer)
strReporttitle = strReporttitle & "Scheduled"
If Forms!frmStoreData.chkStandby = True Then
strReporttitle = strReporttitle & " and Standby"
End If
strReporttitle = strReporttitle & " Stores"
txtReportTitle = strReporttitle
End Sub
I only have it looking for Standby stores at this point because I want to
get it working before I go too far forward with it.
Thanks!
Darhl