L
LA Lawyer
I am running Access 2007 and am using code to open a report and make a lot
of changes to it, all of which works fine.
Now I want to hide duplicate data in a field in the details section. I have
used the following code:
"Reports!MajorEvents!CaseItemType.HideDuplicates = True"
I know that the reference to the report itself is correct since I have a
series of other references in the same snippet and they work. I am quite
sure that the reference to the HideDuplicates property is correct. My
belief that somewhere the reference has to be incorrect, but I can't see
where.
What is wrong with this? Is it the reference to a field in the details
section that is the problem?
of changes to it, all of which works fine.
Now I want to hide duplicate data in a field in the details section. I have
used the following code:
"Reports!MajorEvents!CaseItemType.HideDuplicates = True"
I know that the reference to the report itself is correct since I have a
series of other references in the same snippet and they work. I am quite
sure that the reference to the HideDuplicates property is correct. My
belief that somewhere the reference has to be incorrect, but I can't see
where.
What is wrong with this? Is it the reference to a field in the details
section that is the problem?