Hi there,
I have (on Access97) a form that has a list that can be reordered on runtime. On the same form I have a button to print the Rowsource of this list item. However, even though the list is ordered, the report always prints in the same order. This is how I open the report:
DoCmd.OpenReport stDocName, acPreview, List.RowSource
The problem is, as I said, the report doesn't show ordered. I tried something else which was to set through vba (after the OpenReport) the OrderBy and OrderByOn properties but nothing happens (guess I should have to refresh the report since it has already been opened). Can anyone help?. Thanks in advance,
Javier
I have (on Access97) a form that has a list that can be reordered on runtime. On the same form I have a button to print the Rowsource of this list item. However, even though the list is ordered, the report always prints in the same order. This is how I open the report:
DoCmd.OpenReport stDocName, acPreview, List.RowSource
The problem is, as I said, the report doesn't show ordered. I tried something else which was to set through vba (after the OpenReport) the OrderBy and OrderByOn properties but nothing happens (guess I should have to refresh the report since it has already been opened). Can anyone help?. Thanks in advance,
Javier