Hi there, probabley a simple one but I can't for the life of me figure it out. I using SQL 7 CR8.5. I'm trying to show the last 300 records logged onto our system based on the creationdate of the record.
I'm having problems limiting them to 300 with counts etc... as I think I'm getting in a mess with whileprinting/whilereading records. I need to take these 300 records and then put them into their own groups based on a datediff formula which isn't a problem. I currently have the formula....
WhilereadingRecords;
numbervar counter:=counter+1
against each record, and then in the record selection I limit it to less than 300. The problem is it doesn't sort them into date order before printing the records out. If I change the whilereadingrecords to whileprintingrecords then I can't say <300 in the record selection??
Any ideas?
Thanks
I'm having problems limiting them to 300 with counts etc... as I think I'm getting in a mess with whileprinting/whilereading records. I need to take these 300 records and then put them into their own groups based on a datediff formula which isn't a problem. I currently have the formula....
WhilereadingRecords;
numbervar counter:=counter+1
against each record, and then in the record selection I limit it to less than 300. The problem is it doesn't sort them into date order before printing the records out. If I change the whilereadingrecords to whileprintingrecords then I can't say <300 in the record selection??
Any ideas?
Thanks