| Setting | Description | Visual Basic | 
| Yes | If the value of a control or the data it contains is the same as in the preceding record, the control is hidden. | True (–1) | 
| No | (Default) The control is visible regardless of the value in the preceding record. | False (0) | 
Dim intCurVal As Integer
intCurVal = Me!CategoryName.HideDuplicates