Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grouping

Status
Not open for further replies.

bigspank

Programmer
Aug 10, 2001
28
0
0
US
For every group in my report, I want to count blank records and non-empty records, how do I do this? When you sow a thought, you reap an act. When you sow an act, you reap a habit. When you sow a habit, you reap a character. When you sow a character, you reap a destiny.
 
I have not tried, but surely you can think of the following ides..
Create a form level variable BlankCount and NbCount. The variables need to be set the initial value as 0. They need to be reset at the group level.

BlankCount shall have value to store as
IIF(EMPTY(myAlias.myField),blankCount+1,blankCount)

NbCount shall have value to store as
IIF(EMPTY(myAlias.myField),NbCount,NbCount+1)

You can report that in the group footer.
Hope this helps.

ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top