HideDuplicates Property

M

MLockey

I need to change the HideDuplicates property at runtime. I have tried the
following without success: Me!Text7.HideDuplicates = true and also
Me!Test7.HideDuplicates = -1

Microsoft Access Help indicates "You can set this property by using the
control's property sheet, a macro, or Visual Basic.

Does anyone have a sample of using Visual Basic to manipulate this property?
 
J

John Spencer

And the next line down in help says

You can set the HideDuplicates property only in report Design view.

So unless you open the report in DesignView, set the property and then
switch the report in normal view, I don't think you can do it with code.
 
Top