weightinwildcat
Programmer
Hi. I am working on a report file that needs to display some fields when a value is less than zero and other fields when a value is equal to or greater than zero. I can put code into the Report_Current property that will format records depending on whether or not the current record has a value less than zero. If I click on another record where the value is equal to or greater than zero, fields will appear or disappear for ALL the records on my report. I need to have this happen on a record-by-record basis rather than for all the records. Any help would be greatly appreciated.
This is the sort of thing I have now:
Private Sub Report_Current()
If Me.txtGroupCounter.Value = 1 Then
Me!OrderNumberBox.visible = True
Else
Me!OrderNumberBox.visible = False
End If
End Sub
This is the sort of thing I have now:
Private Sub Report_Current()
If Me.txtGroupCounter.Value = 1 Then
Me!OrderNumberBox.visible = True
Else
Me!OrderNumberBox.visible = False
End If
End Sub