S
S Jackson
I'm trying to write some code to execute a procedure in the details section
of a report. I'm frustrated because I can't use a value property for a
txtbox. The code looks like this:
Dim strLabel As String
Select Case Me.Action.Value
Case "Admin Pen", "CMP"
Me.Amt.Visible = True
strLabel = "Amount"
Me.lblPenalty = strLabel
Me.lblPenalty.Visible = True
Case Else
Me.lblPenalty.Visible = False
End Select
Why do control properties differ between reports and forms? And, how do I
fix the above?
TIA
S. Jackson
of a report. I'm frustrated because I can't use a value property for a
txtbox. The code looks like this:
Dim strLabel As String
Select Case Me.Action.Value
Case "Admin Pen", "CMP"
Me.Amt.Visible = True
strLabel = "Amount"
Me.lblPenalty = strLabel
Me.lblPenalty.Visible = True
Case Else
Me.lblPenalty.Visible = False
End Select
Why do control properties differ between reports and forms? And, how do I
fix the above?
TIA
S. Jackson