jaaret
Instructor
- Jun 19, 2002
- 171
I've been attempting to show or hide the vertical scroll bar in a registration subform, depending on how many records are currently displayed.
If Form_sfrmRegistrations.txtRegistrations > 34 Then
Form_sfrmRegistrations.ScrollBars = 2
Else
Form_sfrmRegistrations.ScrollBars = 0
End If
The txtRegistrations field =count(EmpID) and displays the correct number of registrants.
Why is this not working?
If Form_sfrmRegistrations.txtRegistrations > 34 Then
Form_sfrmRegistrations.ScrollBars = 2
Else
Form_sfrmRegistrations.ScrollBars = 0
End If
The txtRegistrations field =count(EmpID) and displays the correct number of registrants.
Why is this not working?