B
Brian
Does anybody have a suggestion for how, on a continuous form, to emulate the
type of column-based sorting such as exists, for example, in Outlook? I have
column labels in the form header and columnized data in the detail below the
headers. I want to allow the user to click on the header and get some sort of
indication of how the form is sorted.
I have no problem with the VBA to rewrite the form's record source & requery
with the ORDER BY clause(s), but I don't know what kind of control to embed
in the header such that it is a small Up Arrow when sorting ASC and Down
Arrow when sorting DESC and changes when the user clicks it. I could replace
the column header with a button, but I do not know how to combinine the text
(e.g. Customer)& graphic (up/down arrow) on the button. Even if I could, the
stock up & down button graphics are so large that they look out of place with
an eight-point font in the header.
type of column-based sorting such as exists, for example, in Outlook? I have
column labels in the form header and columnized data in the detail below the
headers. I want to allow the user to click on the header and get some sort of
indication of how the form is sorted.
I have no problem with the VBA to rewrite the form's record source & requery
with the ORDER BY clause(s), but I don't know what kind of control to embed
in the header such that it is a small Up Arrow when sorting ASC and Down
Arrow when sorting DESC and changes when the user clicks it. I could replace
the column header with a button, but I do not know how to combinine the text
(e.g. Customer)& graphic (up/down arrow) on the button. Even if I could, the
stock up & down button graphics are so large that they look out of place with
an eight-point font in the header.