AngelicaMiranda
Registered User.
- Local time
- Today, 21:04
- Joined
- Nov 30, 2011
- Messages
- 20
hi! I have a table with field names StudentsID, FirstName, MiddleName, LastName,Course,Address
I created a form with combo box that when you choose any of the StudentsID, it will automatically populates the other textboxes (such as Name,Course,Address). My problem is, I need to combine the 3 fields in one which is FirstName, MiddleName and LastName into Name(only). I tried this code:
Dim strFirstName As String
Dim strMiddleName As String
Dim strLastName As String
Dim strName As String
strName = "Hello" & strFirstName & " " & strMiddleName & " " & strLastName
but it gives me error, can anyone help me please?
Thanks in advance
I created a form with combo box that when you choose any of the StudentsID, it will automatically populates the other textboxes (such as Name,Course,Address). My problem is, I need to combine the 3 fields in one which is FirstName, MiddleName and LastName into Name(only). I tried this code:
Dim strFirstName As String
Dim strMiddleName As String
Dim strLastName As String
Dim strName As String
strName = "Hello" & strFirstName & " " & strMiddleName & " " & strLastName
but it gives me error, can anyone help me please?
Thanks in advance
