Hi. I have a report that breaks down our marketing results and shows each of the ways our customers found us and how much money each source brought in. All of this information comes from tblRequestedInformation.
Group #1 (How customers found us)
Group #2 (Specific name of source)
Details (Project number, date of start, price)
Then I have a formula that marks each customer in the details section with an asterisk if they were a first time customer.
if {tblRequestedInformation.NewCustomer} = True
then "*" [/color green]
I have running totals of the prices set up for each group and a Grand Total in the footer. All of that works fine.
I need to add the total number of first time customers for the year and then how many of them we were able to track. I am able to get the number tracked by putting a count of the asterisks in the footer - but the total number of new customers is in tblNewCustomers not tblRequestedInformation.
I've tried creating a formula like that of the count by asterisk:
if {tblNewCustomers.PNDate} > Date (2007,12,31)
then "1" [/color green]
But when I try to create a sum or a count in the footer it keeps returning only the number of records matched up between the two tables or it adds thousands of duplicate records in the details section. I've tried using different types of joins but have had no luck.
The reason I am adding it is to show how many new customers there were total and how many we were able to track (as we can of course only track a portion).
I'd prefer not to have to create a subreport for this one sentence.
Is there a way to do this in my current report footer?
Thank you for your help.
Group #1 (How customers found us)
Group #2 (Specific name of source)
Details (Project number, date of start, price)
Then I have a formula that marks each customer in the details section with an asterisk if they were a first time customer.
if {tblRequestedInformation.NewCustomer} = True
then "*" [/color green]
I have running totals of the prices set up for each group and a Grand Total in the footer. All of that works fine.
I need to add the total number of first time customers for the year and then how many of them we were able to track. I am able to get the number tracked by putting a count of the asterisks in the footer - but the total number of new customers is in tblNewCustomers not tblRequestedInformation.
I've tried creating a formula like that of the count by asterisk:
if {tblNewCustomers.PNDate} > Date (2007,12,31)
then "1" [/color green]
But when I try to create a sum or a count in the footer it keeps returning only the number of records matched up between the two tables or it adds thousands of duplicate records in the details section. I've tried using different types of joins but have had no luck.
The reason I am adding it is to show how many new customers there were total and how many we were able to track (as we can of course only track a portion).
I'd prefer not to have to create a subreport for this one sentence.
Is there a way to do this in my current report footer?
Thank you for your help.