Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    May 2001
    Location
    Blackpool, Lancashire, England
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Option Buttons (XP sr1)

    I have a subform who's records i wish to sort by its various fields . To this end I have 2 option groups 1 for field, the other for ascending or descending. I'm having problems establishing a default selection on form load and thereafter updating the appropriate query on the subform when any of the options are selected, irrespective of group.

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Option Buttons (XP sr1)

    Rather than update the query, you might just want to put the selected field (and whether/not it is DESC) in the OrderBy property of your subform. Be sure to set Me.OrderByOn=True in code first (although maybe in XP you can do this from property sheet).
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •