>Thanks for reply Bret,
>
> In fact,I have a variable with those conditions but the result always is wrong, another advice!
Where are you trying to print your vairable in the report? I tested it just a second ago and I have put my output in the Group footer of the group I set the variable up to count.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope