I have a text field that was populated by the "& concatenation", of a couple of other fields.
Now I want to be able delete a part of the text field.
With a command button I can selete the text that I want delete but I cannot find the operator necessary to the task.
Private Sub Command16_Click()
On Error GoTo Err_Command16_Click
strPhrase = fldPhrase
Text.Value = Text.Value - ("" "" & strPhrase)
Exit_Command16_Click:
Exit Sub
Err_Command16_Click:
MsgBox err.Description
Resume Exit_Command16_Click
End Sub
Where (" " & strPhrase) is what I want to remove.
Thanks
Randy
Now I want to be able delete a part of the text field.
With a command button I can selete the text that I want delete but I cannot find the operator necessary to the task.
Private Sub Command16_Click()
On Error GoTo Err_Command16_Click
strPhrase = fldPhrase
Text.Value = Text.Value - ("" "" & strPhrase)
Exit_Command16_Click:
Exit Sub
Err_Command16_Click:
MsgBox err.Description
Resume Exit_Command16_Click
End Sub
Where (" " & strPhrase) is what I want to remove.
Thanks
Randy