Its related to salaries of the employees ... after entering the data in all fields i have to send one report to bank with all the net salaries of employees... the format is like this:
S.No. emloyee name bank number netpay
I need this s. no, column in report
Sorry if I am labouring the point, but it is important to know precisely what we are dealing with.
What is ‘SNo.’, is it data in the database related to the employee or just a line number that will always start at 1 ?
If ‘S.No.’ is employee data then report Record Source could be
- SELECT 1 as LineNo, [SNo], [Employee Name], [Bank Number], [NetPay] FROM YourTableOrQuery
Then set the control with LineNo as the Control Source to RunningSum= Over All
If ‘S.No.’ is the line number then Record Source would/could be
- SELECT [SNo], [Employee Name], [Bank Number], [NetPay] FROM YourTableOrQuery
with SNo as the Control Source to SummingSum= Over All
MTB