Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Error: You cancelled the previous operation (No I didn't!)

Discussion in 'Information Technology' started by Simon Harris, Jul 28, 2006.

  1. Simon Harris

    Simon Harris
    Expand Collapse
    Guest

    Hi All,

    This line of code, which sits within a function, in a module (Access
    2003)...
    MsgBox (DLookup("[gas_standing_charge]", "tbl_constants"))

    Is causing this error...
    "You cancelled the previous operation"

    Don't geddit! Any ideas anyone?

    Thanks!
    Simon.

    --
    -
    * Please reply to group for the benefit of all
    * Found the answer to your own question? Post it!
    * Get a useful reply to one of your posts?...post an answer to another one
    * Search first, post later : http://www.google.co.uk/groups
    * Want my email address? Ask me in a post...Cos2MuchSpamMakesUFat!
     
  2. Loading...


  3. Allen Browne

    Allen Browne
    Expand Collapse
    Guest

    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.

    --
    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.

    "Simon Harris" <too-much-spam@makes-you-fat.com> wrote in message
    news:%237Aq3%230pGHA.1548@TK2MSFTNGP04.phx.gbl...
    > Hi All,
    >
    > This line of code, which sits within a function, in a module (Access
    > 2003)...
    > MsgBox (DLookup("[gas_standing_charge]", "tbl_constants"))
    >
    > Is causing this error...
    > "You cancelled the previous operation"
    >
    > Don't geddit! Any ideas anyone?
    >
    > Thanks!
    > Simon.
     

Share This Page