G
Gurtz
Hi. I am using a form's 'SortBy' property to sort pages of
records. This form is brought up when a user clicks a row
in a listbox. The form displays up to 10 records
corresponding to those in the listbox, centered around the
user's selection.
The trouble is I want the form to sort the results the
same way they are sorted in the listbox. However, I allow
the user to change the order of the results in the
listbox .. I accomplished this through a query in VB. But
since the listbox is sorted through the ORDERBY query
option, and the form is sorted through it's OrderBy
property, they differ in how they sort records where the
ORDERBY's field is the same.
For instance, if I'm ordering by "Name" and several
records each have "Steve Gurtz" as "Name," then those
records are ordered in some arbitrary way amongst
themselves. How is this done? How can I get the form and
the query to do this the same way, or is this just a
foolish way to approach the problem?
Thanks!
Gurtz
[email = no $]
records. This form is brought up when a user clicks a row
in a listbox. The form displays up to 10 records
corresponding to those in the listbox, centered around the
user's selection.
The trouble is I want the form to sort the results the
same way they are sorted in the listbox. However, I allow
the user to change the order of the results in the
listbox .. I accomplished this through a query in VB. But
since the listbox is sorted through the ORDERBY query
option, and the form is sorted through it's OrderBy
property, they differ in how they sort records where the
ORDERBY's field is the same.
For instance, if I'm ordering by "Name" and several
records each have "Steve Gurtz" as "Name," then those
records are ordered in some arbitrary way amongst
themselves. How is this done? How can I get the form and
the query to do this the same way, or is this just a
foolish way to approach the problem?
Thanks!
Gurtz
[email = no $]