Access MVP (2010-2015)

oOo.oOo.oOo.oOo.oOo.oOo

DLookup causes “You cancelled the last operation” error message

The message indicates that the 3rd argument you are supplying is not correct. It may be misspelled, lacking square brackets around problem names, lacking delimiters, lacking a value (e.g. where you concatenate a Null), lacking an operator, or something else.

This article explains how to form the 3rd argument… Getting a value from a table: […]

 4,005 total views

#NAME?

Here are some reasons…

Make sure that the field specified in the control’s ControlSource property hasn’t been removed from the underlying table or record source. Check the spelling of the field name in the control’s ControlSource property. If you specified an expression in the control’s ControlSource property, make sure that there is an equal sign […]

 1,546 total views