Combo Box based on Query sort not working - A2K
- From: sara <saraqpost@xxxxxxxxx>
- Date: Wed, 27 Feb 2008 09:12:50 -0800 (PST)
Hi -
I have been asked to change a combo box display to sort in
alphabetical order. This is in an app I did not write, but it should
be simple enough!
The combo box is based on a table (and I've put in SQL and a query -
same problem)
It is 2 columns, bound column 1, width 0,2".
Query: SELECT Departments.DeptCode, Departments.DeptName
FROM Departments
ORDER BY Departments.DeptName;
When I run the SQL or the Query, stand-alone or from the properties
window, the sorting is correct (in Dept Name order).
The combo box still displays in DeptCode (Number) order.
I tried changing the number of rows to display (from 8 to 20) and the
column widths (to .5", 2") and nothing changes in the display! Still
shows 8 rows, in number order.
It's like it's not taking my changes or it's getting its direction for
the combo box from somewhere else.
Any ideas? Would a decompile be any help at all? There's lots of
code in the app, but little in the form and nothing with this combo
box.
Thanks -
Sara
.
- Follow-Ups:
- Re: Combo Box based on Query sort not working - A2K
- From: Dominic Vella
- Re: Combo Box based on Query sort not working - A2K
- From: timmg
- Re: Combo Box based on Query sort not working - A2K
- From: Salad
- Re: Combo Box based on Query sort not working - A2K
- Prev by Date: Re: DSN Behaving Badly
- Next by Date: Re: Combo Box based on Query sort not working - A2K
- Previous by thread: Storing A Number
- Next by thread: Re: Combo Box based on Query sort not working - A2K
- Index(es):
Relevant Pages
|