T
Tom Ventouris
I am trying to populate a list box with a combination of two fields based on
the selection in anoter list box. Here's the part of the code I am struggling
with:
Select Case Me![Selectionlist]
Case "FullName": sSQL = "SELECT [FirstName] & [LastName] AS FullName
FROM tblPeople ORDER BY [FirstName] ;"
More case.........more stuff and End select.
This returns FirstNameLastName. I am looking for FirstNameSPACELastName.
Placing &" " & between the FirstName and Lastname:
.......SELECT [FirstName] &" " [LastName]......seemed like a logical option
but it does not work. Any help with this one? Thanks
the selection in anoter list box. Here's the part of the code I am struggling
with:
Select Case Me![Selectionlist]
Case "FullName": sSQL = "SELECT [FirstName] & [LastName] AS FullName
FROM tblPeople ORDER BY [FirstName] ;"
More case.........more stuff and End select.
This returns FirstNameLastName. I am looking for FirstNameSPACELastName.
Placing &" " & between the FirstName and Lastname:
.......SELECT [FirstName] &" " [LastName]......seemed like a logical option
but it does not work. Any help with this one? Thanks