Hi Junmart
Your question is a bit vague!
However here is a stab at what you might be looking for. Suppose your text box is called txtFullName and you want the variable to be two names stored elsewhere concatenated with a single space between.
In your code you might have something like:
Dim strFirstName As String
Dim strLastName As String
Dim strFullName As String
strFirstName = FirstName 'The name of a field underlying your form.
strLastName = LastName
strFullName = strFirstName & " " & strLastName
Me.txtFullName = strFullName
HTH
Rich Gorvin