Error 2001: cancelled previous operation (URGENT!)

S

scubadiver

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 & ""
 
D

Douglas J. Steele

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?
 
S

scubadiver

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?
 
Top