May 17, 2001 #1 Spon349 Technical User Apr 24, 2001 3 GB Is there any way to grab part of a string that's the current value of a form control? The Code: Characters property provides the exact functionality I need, but it doesn't seem to apply to form values. Thanks
Is there any way to grab part of a string that's the current value of a form control? The Code: Characters property provides the exact functionality I need, but it doesn't seem to apply to form values. Thanks
May 17, 2001 1 #2 Aivars Programmer May 4, 2001 687 LV Hi! Me.txtText = "Full_Text_for_functions_testing" Me.txtPartOfText = Mid(Me.txtText, 5, 7) 'Me.txtPartOfText = "_Text_f" Me.txtPartOfText = Left(Me.txtText, 9) 'Me.txtPartOfText = "Full_Text" Me.txtPartOfText = Right(Me.txtText, 9) 'Me.txtPartOfText = "s_testing" See in the Help "Returning Strings from Functions" Aivars Upvote 0 Downvote
Hi! Me.txtText = "Full_Text_for_functions_testing" Me.txtPartOfText = Mid(Me.txtText, 5, 7) 'Me.txtPartOfText = "_Text_f" Me.txtPartOfText = Left(Me.txtText, 9) 'Me.txtPartOfText = "Full_Text" Me.txtPartOfText = Right(Me.txtText, 9) 'Me.txtPartOfText = "s_testing" See in the Help "Returning Strings from Functions" Aivars