Error 2001: cancelled previous operation (URGENT!)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My database has suddenly started giving this error when I click a command
button to open another form for a specific record. It has always worked and I
am wondering why this is now happening.

This is the code:

DoCmd.OpenForm "Queries Edit form", , , "QueryID = " & Me.QLN & ""
 
That very misleading error can occur if you've mistyped something. You
haven't renamed the form, have you? You didn't change the name of the field
from QueryID? Me.QLN has a valid numeric value?
 
The form I was trying to open got corrupted so I imported it from another
copy.

thanks.


Douglas J. Steele said:
That very misleading error can occur if you've mistyped something. You
haven't renamed the form, have you? You didn't change the name of the field
from QueryID? Me.QLN has a valid numeric value?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top