Complex formula in ControlSource

G

Guest

A2003
I want a calculated field to count number of unique Addresses (don't count
duplicates). In Excel I have a complex formula that works:

=Sum(IIf(FREQUENCY(IIf(Len([Address])>0,MATCH([Address],[Address],0),""),IIf(Len([Address])>0,MATCH([Address],[Address],0),""))>0,1))

Are there equivelent functions for Frequency and Match that can be used in
the ControlSourcr or from VBA?

-Brad
 
G

Guest

Got it--almost. Grouping and sub-grouping is the answer, and there are many
posts on this. My problem now is that I cannot get the correct count in the
header.

I have an Issue Group and Address subGroup. The Address footer has
txtRunAddressCount
ControlSource =1
Running Sum Over Group

In the Issue footer another text box referring to the first
txtAddressCount
ControlSource =txtRunAddressCount

Now I want to show this in the Issue Header. So I try
another text box with
ControlSource =txtAddressCount

but it shows a count of 1 each time.

-Brad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top