N
Nancy
Hi,
I am using a form to run sql, create a query off of the
sql, then generate a report off of the query. The form
also has code to compare the number of records between 2
tables. The difference needs to be displayed on the
report. My question is how do I get the difference to
display on the report ?
The code to compare the 2 tables is:
cntPrev = (DCount("*", "Provider Additions - prev"))
cntCurr = (DCount("*", "Provider Additions - curr"))
cntDiff = cntCurr – cntPrev
I need to display the variable “cntDiff” in the report
heading.
Thanks in advance for any suggestions.
I am using a form to run sql, create a query off of the
sql, then generate a report off of the query. The form
also has code to compare the number of records between 2
tables. The difference needs to be displayed on the
report. My question is how do I get the difference to
display on the report ?
The code to compare the 2 tables is:
cntPrev = (DCount("*", "Provider Additions - prev"))
cntCurr = (DCount("*", "Provider Additions - curr"))
cntDiff = cntCurr – cntPrev
I need to display the variable “cntDiff” in the report
heading.
Thanks in advance for any suggestions.