Here's something I've never tried before, but it isn't working...I would like to lengthen the textbox depending on what is in it. Here is the code I'm trying on the On Current property of the form
If Me.CourseD = "Too long to fit" Then
ElseIf Me.CourseD = "Too many letters" Then
ElseIf Me.CourseD = "Just won't fit here" Then
Me.CourseD.Width = 2.6354
Else
Me.CourseD.Width = 2.1875
End If
I've also tried
If Me.CourseD = "Too long to fit" Or
Me.CourseD = "Too many letters" Or
Me.CourseD = "Just won't fit here" Then
Me.CourseD.Width = 2.6354
Else
Me.CourseD.Width = 2.1875
End If
How can I get this to work?
Thanks for any help