Results 1 to 5 of 5
  1. #1
    bellevue is offline Advanced Beginner
    Windows XP Access 2000
    Join Date
    Apr 2012
    Posts
    61

    Cant's access database "You canceled the previous operation"

    I'm in a bit of a pickle here.



    Please forgive if I don't use the correct terminology here; the phrase " a little knowlege is dangerous" springs to mind in this situation.

    Whilst trying to create a more complicated conditional format than could be handled by the conditional formatting "wizard" I entered some code into the VBA Editor and now I can't access my form.

    When I try and access it via the "Direct to Reservations" button (circled below) I keep getting the "You canceled the previous operation" error message:

    Click image for larger version. 

Name:	1.JPG 
Views:	1 
Size:	19.0 KB 
ID:	8106

    When I try to access the form via the database window, nothing happens.

    Obviously, I can't get into the form to access the VBA Editor to see what I did but I recall it was an "After Update" command; I've managed to get into the VBA Editor (I think !) via the table and below is what is in there for the offending field:

    Click image for larger version. 

Name:	2.JPG 
Views:	5 
Size:	21.0 KB 
ID:	8107

    I've tried to delete the code but every time I try and do that, the database closes down saying there's been an error.

    To make matters worse, in trying to use an append query to transfer data from my back up I've created duplicates of everything so now the table has 5200 records where it should be 2600 !

    The whole question of duplicate records is another subject; to be honest, I'd just like to get rid of the offending code (or whatever it's called) so that I can get into the form again, I'll worry about the duplicates later.

    Please Help !!!!!

  2. #2
    R_Badger is offline Knows a few tricks
    Windows XP Access 2003
    Join Date
    Feb 2012
    Location
    Suffolk, UK
    Posts
    262
    A question immediately springs to mind:

    Right click your form, design view gives you the same error?

  3. #3
    bellevue is offline Advanced Beginner
    Windows XP Access 2000
    Join Date
    Apr 2012
    Posts
    61
    Thanks for the reply

    Good idea, I've tried to right click the form in the database window and select "Design View" but nothing happens.

  4. #4
    bellevue is offline Advanced Beginner
    Windows XP Access 2000
    Join Date
    Apr 2012
    Posts
    61
    I forgot to add that I added some "code" as well to the field "Dog_Amt_Paid" as "AdterUpdate" and "Exit", see below:

    Click image for larger version. 

Name:	3.JPG 
Views:	2 
Size:	141.6 KB 
ID:	8108

    I wonder, would the fact that there are two "commands" (?) for the same field be causing a conflict ? If so, how do I delete one or both ?

  5. #5
    bellevue is offline Advanced Beginner
    Windows XP Access 2000
    Join Date
    Apr 2012
    Posts
    61
    Thanks to those that tried to help but couldn't wait any longer. I've partially solved it myself and have the database working again (phew !) and will sort the duplicate records on another day.

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

Similar Threads

  1. Replies: 5
    Last Post: 03-05-2012, 08:06 AM
  2. Replies: 2
    Last Post: 11-04-2011, 02:45 AM
  3. Replies: 1
    Last Post: 06-07-2011, 09:10 PM
  4. Replies: 5
    Last Post: 05-23-2011, 11:28 AM
  5. "Previous Month" button
    By allochthonous in forum Programming
    Replies: 3
    Last Post: 09-10-2006, 12:15 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