L
lynn atkinson
I have a combo box which looks up the employee ID and
stores this in the field (number) but also displays the
employee surname and forename for easy recognition.
ie 222 Smith John
and when this entry is selected, 222 is stored in the
field.
However, since we have 800 records in the employee table,
is there a way of 'speed scrolling' ie pressing 's' and it
will go to the first surname starting with s? (the list is
sorted on surname)
At present this does not work as, I assume, the first
column is a number.
If I change the columns round so the surname is the first
column, then I can press 's' to select the first 's', but
the database tries to store the name (ie contents of the
1st column) and is rejected as this is text not a number.
What am I missing?
stores this in the field (number) but also displays the
employee surname and forename for easy recognition.
ie 222 Smith John
and when this entry is selected, 222 is stored in the
field.
However, since we have 800 records in the employee table,
is there a way of 'speed scrolling' ie pressing 's' and it
will go to the first surname starting with s? (the list is
sorted on surname)
At present this does not work as, I assume, the first
column is a number.
If I change the columns round so the surname is the first
column, then I can press 's' to select the first 's', but
the database tries to store the name (ie contents of the
1st column) and is rejected as this is text not a number.
What am I missing?