G
Guest
Execution of a DLookup function on a form produced this error message:
Runtime error 2001:
You cancelled the previous operation
HUH? I racked my brain over this, but finally executing the DLookup in the
immediate window of the debugger provided the answer: I had misspelled the
name of the field being looked up! How's that for informative run-time
messaging? It happens in both A2K and 2003.
Runtime error 2001:
You cancelled the previous operation
HUH? I racked my brain over this, but finally executing the DLookup in the
immediate window of the debugger provided the answer: I had misspelled the
name of the field being looked up! How's that for informative run-time
messaging? It happens in both A2K and 2003.