Results 1 to 3 of 3
  1. #1
    MWMike is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2010
    Location
    Long Island, NY
    Posts
    18

    Lightbulb Disallow edits to saved query

    Hi all,



    I have a subform bound to a query displaying in datasheet view, and I like the ability to use the built-in arrows in the field names to further filter and sort the query results. However, if I use a filter and then close the form, I get a pop-up asking if I want to save the changes to the query. I don't want the user to be able to change any of the queries. I tried using the 'enabled' property, but that makes the filter/sort unavailable. Is there some other way I can enable the filter/sort but not allow edits to the saved query?

    Thanks

  2. #2
    MWMike is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2010
    Location
    Long Island, NY
    Posts
    18
    Forgot to mention that I also set the subform property "Locked" to Yes, assuming that would solve my problem, but it doesn't seem like that does anything at all.

  3. #3
    MWMike is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2010
    Location
    Long Island, NY
    Posts
    18
    Bump.

    Still having an issue with this. Does anyone at least know what I'm talking about? I have a subform displaying the results of a query, and whenever I use a filter or sort, or even resize a column, and then close the form, I get a message asking if I want to save the changes I made to the query.

    Now, I am still in design mode here, and will eventually split the database and deploy on other clients. Maybe this won't be an issue then?

    Or maybe I can write a piece of vb code to suppress / click 'no' when the warning pops up?

    Or maybe I can somehow set the query to read-only?

    I need a little direction here, there must be a solution to this...

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

Similar Threads

  1. Replies: 3
    Last Post: 03-01-2011, 09:59 PM
  2. Saved Import in Query
    By Kimbertha in forum Queries
    Replies: 1
    Last Post: 10-21-2010, 07:21 AM
  3. protecting records from unwanted edits
    By Hunt2871 in forum Security
    Replies: 2
    Last Post: 08-01-2010, 10:49 PM
  4. Replies: 9
    Last Post: 04-01-2010, 07:23 PM
  5. Replies: 1
    Last Post: 03-11-2010, 12:15 AM

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