The message indicates that one of the arguments is invalid.
Either there is no table named tbl_contants, or the table does not have a
field named gas_standing_charge.Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/13250-error-you-cancelled-previous-operation-no.html
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13250
"Simon Harris" wrote in message
> Hi All,
> This line of code, which sits within a function, in a module (Access
> MsgBox (DLookup("[gas_standing_charge]", "tbl_constants"))
> Is causing this error...
> "You cancelled the previous operation"
> Don't geddit! Any ideas anyone?