I want to be able to change a value in a text box, but I am getting a run-time error 2448 (You can't assign a value to this object.) Here is the code that I am currently using (the current value of the text box is a carat (^), and I want to change it to a letter A):
Select Case PER1ID_11Value
Case "A" To "Z"
PER1ID_11Value = [Forms]![frmCorrect]![txtPER1ID_11]
Case "a" To "z"
PER1ID_11Value = [Forms]![frmCorrect]![txtPER1ID_11]
Case "0" To "9"
PER1ID_11Value = [Forms]![frmCorrect]![txtPER1ID_11]
Case Else
PER1ID_11Value = "A"
[Forms]![frmCorrect]![txtPER1ID_11] = PER1ID_11Value
End Select
Please advise.
Thanks.
Select Case PER1ID_11Value
Case "A" To "Z"
PER1ID_11Value = [Forms]![frmCorrect]![txtPER1ID_11]
Case "a" To "z"
PER1ID_11Value = [Forms]![frmCorrect]![txtPER1ID_11]
Case "0" To "9"
PER1ID_11Value = [Forms]![frmCorrect]![txtPER1ID_11]
Case Else
PER1ID_11Value = "A"
[Forms]![frmCorrect]![txtPER1ID_11] = PER1ID_11Value
End Select
Please advise.
Thanks.