Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Expert One-on-One Access Application Development
This is the forum to discuss the Wrox book Expert One-on-One Microsoft Access Application Development by Helen Feddema; ISBN: 9780764559044
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert One-on-One Access Application Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 11th, 2004, 06:52 PM
Authorized User
 
Join Date: Jun 2004
Location: Cumberland, MD, USA.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mysterious Hidden OrderByOn

Has anyone tried to verify the highlighted text at the top of page 122? I tried to verify the author's disclaimer regarding sorting by multiple fields using the Order By property. To my surprise I found that sorting on a single field using the Order By property (thru the Properties dialog listbox) didn't work either. However, I learned that the problem was not with the multiple sort fields, but the problem is related to the mysteriously hidden OrderByOn property.

I could not find the OrderByOn property anywhere on the Properties dialog listbox, yet the property is indeed a property of the form. So I created a command button on a continuous form which "toggled" the OrderByOn property on (TRUE) and off (FALSE) and I added a statement to the Open event of the form that set the OrderByOn property to FALSE when the form was initially opened.

With a specific field listed in the OrderBy property on the Properties dialog listbox, I opened the form. The form was NOT sorted by the OrderBy field. Then I clicked the command button to set the OrderByOn property to TRUE ... the form immediately refreshed in sorted order.

If you repeat the process specifying multiple fields in the OrderBy property on the Properties dialog listbox, you will find that the form will immediately be refreshed using the multiple-field sort order. So, the problem is not with the multile-field but the problem is related to the mysteriously hidden OrderByOn property.

Does anyone know how to toggle the OrderByOn property without using VBA code?


Terry Waltz
__________________
Terry Waltz
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysterious Coding bLo C++ Programming 3 January 4th, 2007 01:22 AM
mysterious problem (data no inserting ) gratisaccount VB.NET 2002/2003 Basics 1 June 29th, 2006 08:48 AM
mysterious error runtime error '451' coyotworks Excel VBA 1 May 12th, 2006 03:57 PM
Mysterious FileSysObj Behavior mdoleman Access VBA 1 April 26th, 2005 04:55 PM
Hidden form value johnjohn Classic ASP Databases 2 November 10th, 2004 01:00 PM



All times are GMT -4. The time now is 11:55 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.