Dear all
I have found the solution to the problem:
Dim x As Integer
Do While Not rs.EOF
x = x + rs.Fields(6).Value
rs.MoveNext
Loop
DataReport1.Sections("Section5").Controls("label17").Caption = x
Set DataReport1.DataSource = rs
DataReport1.Show
It solved the problem.
Sarfaraz