A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Deactivating order by on a form.



 
 
Thread Tools Display Modes
  #1  
Old October 5th, 2006, 08:04 PM posted to microsoft.public.access.forms
P. Scaram
external usenet poster
 
Posts: 8
Default Deactivating order by on a form.

Dear Sir /Madame,

I want to deactivate the order by on form fields (when you press right click
on a field you get sort ascending , descending options) because it creates
enormous amount of locks on the sql database. There is no property
"orderbyon" on the properties screen. I also tried to set in the open form
event Me.OrderByOn = false but it did not make any difference I could still
sort ascending or descending on any field I wanted. How can I achieve that ?

Thank you in advance for your help.

P. Scaram
  #2  
Old October 5th, 2006, 10:00 PM posted to microsoft.public.access.forms
Brendan Reynolds
external usenet poster
 
Posts: 1,241
Default Deactivating order by on a form.

Either change the form's Shortcut Menu property to 'No' to disable shortcut
menus, or create a custom shortcut menu with only the commands you want
available, and assign the name of that shortcut menu to the 'Shortcut Menu
Bar' property. You'll find these properties on the 'Other' tab in the
Properties window in form design view.

--
Brendan Reynolds
Access MVP


"P. Scaram" wrote in message
...
Dear Sir /Madame,

I want to deactivate the order by on form fields (when you press right
click
on a field you get sort ascending , descending options) because it creates
enormous amount of locks on the sql database. There is no property
"orderbyon" on the properties screen. I also tried to set in the open form
event Me.OrderByOn = false but it did not make any difference I could
still
sort ascending or descending on any field I wanted. How can I achieve that
?

Thank you in advance for your help.

P. Scaram



 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.