I need to due an calculation in a query. The qurey needs to count the number of records, fine I can do that. I then need to use this record to give each record a certian value. For instance I have another calculated value, say 6 and there was 3 counted records in the query. I the devided 6 by 3 to get 2. I want a certain field in the first record to be 0 the same field in the second record must be then be 3 and same field in the third record must be 6. This nubers will constanly change depending on the number of records and the calculated value. I think I need to loop trhough the records and is not sure how to do it. These answers do not need to be saved in a table, need to output it in a report.
Thanks
Thanks