So I have a Subform which is in datasheet view and it can be filtered trough controls in the main form. And I have a textbox in the main form in which I want show the number of records you see in the subform excluding duplicates. But I want to only put in number when the button "calculate" is pressed. This is because I also want to put in a number myself in the textbox.
That is why the method I found that uses the control source of the textbox doesn't work.
So the things I encountered trying this was:
- It doesn't exclude duplicates when you use =Count(*)
- When I use a textbox in the subform footer to calculate the number it disapears. I think when I swith bewteen views of the form.
- It doesn't work when you would use the control source of the textbox.
That is why the method I found that uses the control source of the textbox doesn't work.
So the things I encountered trying this was:
- It doesn't exclude duplicates when you use =Count(*)
- When I use a textbox in the subform footer to calculate the number it disapears. I think when I swith bewteen views of the form.
- It doesn't work when you would use the control source of the textbox.