Hi,
I have a txtbox on a form that gets an updated value from a selection on an option group on the same form.
In the afterupdate event of my option group I am using the following code:
Private Sub Curative_Status_Option_AfterUpdate()
Select Case Me.Status
Case 1
Me.Text135 = "Not Satisfied"
Case 2
Me.Text135 = "Partially Satisfied"
Case 3
Me.Text135 = "Satisfied"
Case 5
Me.Text135 = "Assigned To Client"
Case 6
Me.Text135 = "Attorney Consult"
Case 7
Me.Text135 = "Attorney Approval"
Case 4
Me.Text135 = "Not Satisfied - New"
Case 8
Me.Text135 = "Not Satisfied - Deferred"
End Select
End Sub
The issue is that once I make a change in the option group it does not change the textbox most of the time, often I have to click the option one or more times and leave the record and come back to it for it to work.
Is there a way to force a refresh on the txtbox while I am still in the record?
Thanks.
Fen How
I have a txtbox on a form that gets an updated value from a selection on an option group on the same form.
In the afterupdate event of my option group I am using the following code:
Private Sub Curative_Status_Option_AfterUpdate()
Select Case Me.Status
Case 1
Me.Text135 = "Not Satisfied"
Case 2
Me.Text135 = "Partially Satisfied"
Case 3
Me.Text135 = "Satisfied"
Case 5
Me.Text135 = "Assigned To Client"
Case 6
Me.Text135 = "Attorney Consult"
Case 7
Me.Text135 = "Attorney Approval"
Case 4
Me.Text135 = "Not Satisfied - New"
Case 8
Me.Text135 = "Not Satisfied - Deferred"
End Select
End Sub
The issue is that once I make a change in the option group it does not change the textbox most of the time, often I have to click the option one or more times and leave the record and come back to it for it to work.
Is there a way to force a refresh on the txtbox while I am still in the record?
Thanks.
Fen How