G
Guest
Hello,
I have written some code but if someone can help me finish it up. Basically
what I am trying to do is I have a cascading combo box. I want the user when
he selects his reponse (cmbStatus) will automatically update the other text
box (response).
I just want to know if I could set the value in VB.
But If not How do you set the value in a Macro. I know the first step is
run the code, but do not know how to do the rest. Thanks
Private Sub cmbStatus_AfterUpdate()
On Error Resume Next
Select Case cmbStatus.Value
Case "Not Prepared"
Response.RowSource = " "
Case "Prepared No Disposition"
Response.RowSource = "Reconciled"
Case "Prepared Disposition Known"
Response.RowSource = "Reconciled"
Case "Prepared Disposition unknown"
Response.RowSource = "Unreconciled"
End Select
End Sub
I have written the code to display the response in the text box response.
But I want to know if I could change this code to set the value. Thanks.
I have written some code but if someone can help me finish it up. Basically
what I am trying to do is I have a cascading combo box. I want the user when
he selects his reponse (cmbStatus) will automatically update the other text
box (response).
I just want to know if I could set the value in VB.
But If not How do you set the value in a Macro. I know the first step is
run the code, but do not know how to do the rest. Thanks
Private Sub cmbStatus_AfterUpdate()
On Error Resume Next
Select Case cmbStatus.Value
Case "Not Prepared"
Response.RowSource = " "
Case "Prepared No Disposition"
Response.RowSource = "Reconciled"
Case "Prepared Disposition Known"
Response.RowSource = "Reconciled"
Case "Prepared Disposition unknown"
Response.RowSource = "Unreconciled"
End Select
End Sub
I have written the code to display the response in the text box response.
But I want to know if I could change this code to set the value. Thanks.