Hello World
I have this code that displays this report


[CODE=vb]
...
With frmSchedules
rs.Open "Select * From PrintSchedule Where Courses.Title=' " & _
.lblSection.Cap tion & "' And Sections.Title= '" & .cboSections.Te xt & _
"' And Semester='" & .cboSemester.Te xt & "'", dbConnection, 1, 1
End With
With Report
.Database.SetDa taSource rs
.PaperOrientati on = 2
.PaperSize = 1
.DiscardSavedDa ta
End With
crViewer.Report Source = Report
crViewer.ViewRe port
...
[/CODE]
How can I get the current total no of units of the schedule (see image below) Summation of Lec and Lab Units (Total no. of units 31)

I have this code that displays this report

[CODE=vb]
...
With frmSchedules
rs.Open "Select * From PrintSchedule Where Courses.Title=' " & _
.lblSection.Cap tion & "' And Sections.Title= '" & .cboSections.Te xt & _
"' And Semester='" & .cboSemester.Te xt & "'", dbConnection, 1, 1
End With
With Report
.Database.SetDa taSource rs
.PaperOrientati on = 2
.PaperSize = 1
.DiscardSavedDa ta
End With
crViewer.Report Source = Report
crViewer.ViewRe port
...
[/CODE]
How can I get the current total no of units of the schedule (see image below) Summation of Lec and Lab Units (Total no. of units 31)

Comment