How do I set HideDuplicates property with VB

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Need to set HideDuplicate property at runtime.

I have tried the following:
Me.Text7.HideDuplicates = True and also Me.Text7.HideDuplicates = -1

Both lines have created error 2448:You can't assign a value to this object.

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

Looking for a Visual Basic sample
 
MLockey said:
Need to set HideDuplicate property at runtime.

I have tried the following:
Me.Text7.HideDuplicates = True and also Me.Text7.HideDuplicates = -1

Both lines have created error 2448:You can't assign a value to this
object.

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

Looking for a Visual Basic sample

The help also states "You can set the HideDuplicates property only in report
Design view." - you don't actually state that it's a report you're working
on ...

Regards,
Keith.
www.keithwilby.com
 
Back
Top