karatelung
Registered User.
- Local time
- Today, 12:28
- Joined
- Apr 5, 2001
- Messages
- 84
Access 2000 project. SQL Server 2000 backend.
here's my problem.
in data source query for a list box, i concatenated first name and last name fields to show up as one. when one of those fields is blank (LastName or FirstName), the spot is blank in the list. i can still click on it, and it looks up the correct data based on the primary key (EmpID). but it's blank in the list box.
how can i get it to show up? never had this problem with regular Access mdb.
here's the SQL statement -- the data source for the list box.
SELECT EmpID, FirstName + ' ' + LastName AS EmpName
FROM tblEmployee
WHERE (CurrentEmp = 1)
ORDER BY FirstName
thank you.
here's my problem.
in data source query for a list box, i concatenated first name and last name fields to show up as one. when one of those fields is blank (LastName or FirstName), the spot is blank in the list. i can still click on it, and it looks up the correct data based on the primary key (EmpID). but it's blank in the list box.
how can i get it to show up? never had this problem with regular Access mdb.
here's the SQL statement -- the data source for the list box.
SELECT EmpID, FirstName + ' ' + LastName AS EmpName
FROM tblEmployee
WHERE (CurrentEmp = 1)
ORDER BY FirstName
thank you.