I am adding a drop down comb box to an existing database I wrote about a year
ago. This combo box list names where the user can select which record to go to.
Sigh.
Last, First Name and a hidden key field. I've got everything working, and have
it on different forms. Created a routine to set it to SELECT the right fields
for the right table for the right forms. I also have it successfully ordering
by.
I mean the user can sort the last name field, descending. So I want the drop
down list to be descending too, when they use it. Works fine WHEN THE FORM IS
OPENED. I can trim the form's order by and add on "ORDER BY " to the SELECT
statement to for the combo box's row source.
But, big but, it only works when the form opens, because they can resort the
last (or first name field) after opening. Which means the drop down combo box
will then be out of order. Not a big problem, but I would like it to match.
Is there any way to detect when someone sorts? I haven't found any such event.
Also, when the form opens, the box is blank. It only picks up a default name
after one drop down and selection. I'd like it to fill in with the first record
that comes up.
HELP!!!
Any help appreciated, this is driving me nuts.
Doe :-)
do*******@aol.c om
IF http://members.aol.com/doepage/intfict.htm
(An Iffy Theory | Glulx/Glk for Duncies | unglklib | Inform Primer)
IF Art Gallery http://members.aol.com/iffyart/
IF Review Conspiracy http://zork.plover.net/~textfire/conspiracy/