R
Radhika
I have two fields from the same table:
1. No side effect (Check box:yes/no)
2. Side Effect Description (drop down box)
I want 'Side Effect Description' to default to 'N/A' if 'No side effect is
checked'. Below is the code I am using in the got focus event:
Private Sub Tumor_Description_GotFocus()
If Me.[No Side effect] = True Then
Me.[Side Effect Description]='N/A'
End If
End Sub
However, I get an error message when I use this code. What am I doing wrong?
Thanks,
Radhika
1. No side effect (Check box:yes/no)
2. Side Effect Description (drop down box)
I want 'Side Effect Description' to default to 'N/A' if 'No side effect is
checked'. Below is the code I am using in the got focus event:
Private Sub Tumor_Description_GotFocus()
If Me.[No Side effect] = True Then
Me.[Side Effect Description]='N/A'
End If
End Sub
However, I get an error message when I use this code. What am I doing wrong?
Thanks,
Radhika