473,396 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to refresh to original when form is loaded after the user right click sort?

3
How to refresh to original when form is loaded after the user right click sort

Steps:
1. Form is loaded.
2. User right click on sort A-Z in Contributor.
3. User wants to get back the original sort when the form is opened.

How?

Please help

** Edit **

Attached Images
File Type: jpg form.jpg (28.8 KB, 255 views)
Feb 3 '11 #1
3 1739
orangeCat
83 64KB
Is there an option to Remove Filter or Sort?
If so, click it.
Feb 4 '11 #2
Stewart Ross
2,545 Expert Mod 2GB
You can place a command button on the form labelled, say, "Sort in Normal Order", and in its on-click event put the following lines:

Expand|Select|Wrap|Line Numbers
  1. Me.OrderBy = ""
  2. Me.OrderByOn = False
-Stewart
Feb 6 '11 #3
NeoPa
32,556 Expert Mod 16PB
In the Records Menu there is an option Remove Filter/Sort. The operator can choose this unless you have menus disabled or hidden.
Feb 6 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

29
by: lori3laz | last post by:
How do you disable the right click>view source option on web pages so people can't view your coding and copy it? What's the html I need to include in my website to utilize this feature? Thank...
0
by: VM | last post by:
I'm having a synchronizaition problem when I display a right-click popup mouse and when I have the code that checks where in the row the user clicked in order to mark the whole line. With the...
0
by: Hardik Shah | last post by:
Hi, I want to create menu , when my user right click from combo box's list item. I use Contextmenu property of combobox and assign menu for it, but it only effected when combobox's list item not...
2
by: Hardik Shah | last post by:
Hi, I want to create menu , when my user right click from combo box's list item. I use Contextmenu property of combobox and assign menu for it, but it only effected when combobox's list item not...
2
by: DBC User | last post by:
Hi All, I have a data grid and I created a context menu for the data grid and is working fine. The context menu is sensitive to the current selected row. I would like to know., when a user...
2
by: abid gee | last post by:
Please give a kind look on my question. and please comments. I am Using C# as development tool of Dot Net 2.0. I wrote a function read_data() that read data from Serial Port continuously.Till...
2
by: mindscreen | last post by:
I want to use Right-Click menu of mouse in any form or anywhere in my program? How can I able to do this? I want that when user right-click on any button or form a special pop-up menu will appear...
4
by: marcnz | last post by:
Hi, I am working for a company which as a MS SQL backend and Access as front end. We update automatically each access db on the user local machine when a new feature has become available. We...
9
RBPierce
by: RBPierce | last post by:
Hey all, hoping someone can help me with a workaround. I've got an event set to fire when a textbox changes or loses focus- no problems. However, when the user clicks into the box and Right Click-->...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.