Results 1 to 6 of 6
  1. #1
    dougie is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2011
    Posts
    27

    Sort ends data entry mode

    I have a form contaiing a subform. The subform is opened in data entry mode, so it displays no existing records. Howvere if the user right-clicks the form and selects a sort, all records are displayed. Is there any way to stop this behaviour so that the form remains in data entry mode?

  2. #2
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    There are a couple of ways of doing this.

    The first that comes to mind is to change your Record Source.

    But first, what is it that you want to achieve. When I know this it will be easier to make a better recommendation.

  3. #3
    dougie is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2011
    Posts
    27
    On the parent form the user chooses a date and a work cell. On the subform which is in data entry mode, the user enters production figures for that date and work cell. As the subform is in data entry mode, only the data entered by the user at that session is visible. However if the user right clicks on the subform they can see the context menu allowing them to sort the data. Instead of this sorting the data on display, the subform displays the entire contents of the table that it is attached to - in other words, it is no longer in data entry mode. Ideally I want to disable sort, filter etc when in data entry mode, or find some way of overriding the undesired termination of data entry mode if these are invoked.

  4. #4
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Give me a few minutes to check something.

  5. #5
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Sorry about that. Just wanted to make sure I was right.

    Open your SubForm in design View. In the Properties Box you can set the "Shortcut Menu" to no.

    This will disable your right click for that subform.

  6. #6
    dougie is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2011
    Posts
    27
    Many thanks.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 09-01-2011, 10:48 PM
  2. Opening Saved data in form in Edit mode
    By l3111 in forum Forms
    Replies: 7
    Last Post: 06-06-2011, 11:37 AM
  3. Replies: 4
    Last Post: 01-14-2011, 10:37 AM
  4. Replies: 2
    Last Post: 02-20-2010, 01:11 AM
  5. Opening Form in Data Entry Mode Problem
    By alsoto in forum Forms
    Replies: 1
    Last Post: 05-28-2009, 07:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums