General discussion

Locked

MS Access 2000 Reports/Functions

By MRA2 ·
I used the DCOUNT function in the code of a report. (Count1 = DCOUNT(field,domain,condition). Now how do I get the count1 variable on the report? When I use =count1, I get a parameter box asking for count1 instead of the result of the function.
Any help is greatly appreciated..... Alan

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by techrep In reply to MS Access 2000 Reports/Fu ...

Put a textbox on the report. In the control source property for the textbox enter an equals sign followed by the Dcount syntax:

=DCOUNT(field,domain,condition)

For example:

=DCOUNT("Name", "Employees", "Sex='M'")

Collapse -

by MRA2 In reply to

Thanks!!! When my report opens a different filter is applied depending on the choice on a form that calls the report. Is there any way I can continue to use 1 report and get the number of checked boxes depending on the filter?
Thanks, Alan ABRAMOWITZA@coned.com

Collapse -

by MRA2 In reply to MS Access 2000 Reports/Fu ...

This question was closed by the author

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums