Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Report Control: Manual vs. user sorting
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Report Control: Manual vs. user sorting

 Post Reply Post Reply
Author
Message
nighthawk View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 June 2004
Status: Offline
Points: 167
Post Options Post Options   Thanks (0) Thanks(0)   Quote nighthawk Quote  Post ReplyReply Direct Link To This Post Topic: Report Control: Manual vs. user sorting
    Posted: 18 May 2005 at 5:52am
I want to be able to manually define the default sort that is applied to a Report Control but I also don't want the user to be able to change the sort away from the default I set.  I have the following code:

    ReportControl.SortOrder.add ReportControl.Columns(3)
    ReportControl.SortOrder(3).SortAscending = True

    ReportControl.AllowColumnSort = False

The problem is that whenever I add the first two lines to set the default sort, the third line that disables user sorting appears to be ignored.  I do get the correct default sort but the user is still able to change the sort as desired.  Is this a bug or is there a workaround?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.