The One Who Was
Well-known member
Greetings
Ive been having an issue with a combo box. I have it bound to a computed column. Ive manually created the column by editing the dataset. The dataset name is "dsSystems", the table name is "Contacts" (which contains name and address ect info in it), and the column I added is named FullName .
the following is the line I used to define my column expresstion
dsSystems.Tables("Contacts").Column("FullName").Expression = "isnull(FirstName,) + + isnull(LastName,)"
Then Ive also bound the combo box to that FullName Column.
The problem I have is... some of my contacts are comanies, and I dont have an associated First and Last name with this contact record, so what happend is I get a list with scattered blank lines since the companies dont have a first and last name...
My question is, can I get rid of these blank lines without adding a WHERE clause to my select statement (since I still may need to access these businesses records from this form)
Thank you for any help in advance
Ive been having an issue with a combo box. I have it bound to a computed column. Ive manually created the column by editing the dataset. The dataset name is "dsSystems", the table name is "Contacts" (which contains name and address ect info in it), and the column I added is named FullName .
the following is the line I used to define my column expresstion
dsSystems.Tables("Contacts").Column("FullName").Expression = "isnull(FirstName,) + + isnull(LastName,)"
Then Ive also bound the combo box to that FullName Column.
The problem I have is... some of my contacts are comanies, and I dont have an associated First and Last name with this contact record, so what happend is I get a list with scattered blank lines since the companies dont have a first and last name...
My question is, can I get rid of these blank lines without adding a WHERE clause to my select statement (since I still may need to access these businesses records from this form)
Thank you for any help in advance