jordanking
Programmer
- Sep 8, 2005
- 351
Hello,
I have begun the fun task of upsizing an access db to a adp front end with a sql 2005 express backend. I have a form with a combo box based on a view. The view has some ascending sort values and it displays properly when opened by itself. But when it is specified as the list value for the combo box, the sorting is ignored. does anyone have an idea as to why this happens.
this is the view:
I have begun the fun task of upsizing an access db to a adp front end with a sql 2005 express backend. I have a form with a combo box based on a view. The view has some ascending sort values and it displays properly when opened by itself. But when it is specified as the list value for the combo box, the sorting is ignored. does anyone have an idea as to why this happens.
this is the view:
Code:
SELECT TOP 100 PERCENT idsCompanyID, txtName + ' ' + ISNULL(txtBranch, '') AS Company, txtPhone, txtName, txtBranch
FROM dbo.tblCompany
ORDER BY txtName, txtBranch