>Hello. I have only been working with 2.6 for about 6 weeks so my questions are very much on the beginners level. I am writing a report in which I want to count the number of records in a group given a certain criteria. I know the format is COUNT TO FOR but I am not sure how to implement this in the group header. I have tried calling a separate program with this as part of the code in the header itself, but get an operator/operand mismatch error. How do I simply count and display the number of records in a group in the group header? Then for a certain criteria? Any help would be greatly appreciated for this beginner!!
Does it have to be in the Group Header? If you can put it in the group footer then all you need to do is copy you field you want to count into the group footer. Double click on it and Click on the calculate check box. Select count Then set the reset to the group.
HTH Jeff
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin. www.TrueGeeks.com