Welcome to SPN

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

Sign Up Now!

enter parameter value in an update query?

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

  1. Lesley

    Lesley
    Expand Collapse
    Guest

    I have an update query (converted from a select query) where I'm trying to
    update/populate a Route field using [tablename].[fieldname]; however, when I
    look at the data in View everything looks ok. But, when I click run, I
    recieve an "enter parameter value" prompt.

    Can anyone tell me WHY I'm getting that message when I'm merely trying to
    update the data into another table???
     
  2. Loading...


  3. Paul Overway

    Paul Overway
    Expand Collapse
    Guest

    Is [tablename].[fieldname] spelled correctly? Is that table included as
    part of the query?

    --
    Paul Overway
    Logico Solutions, LLC
    www.logico-solutions.com


    "Lesley" <Lesley@discussions.microsoft.com> wrote in message
    news:14824151-D1BE-4241-BD89-15BDD1EFB86A@microsoft.com...
    >I have an update query (converted from a select query) where I'm trying to
    > update/populate a Route field using [tablename].[fieldname]; however, when
    > I
    > look at the data in View everything looks ok. But, when I click run, I
    > recieve an "enter parameter value" prompt.
    >
    > Can anyone tell me WHY I'm getting that message when I'm merely trying to
    > update the data into another table???
    >
    >
     
  4. Douglas J. Steele

    Douglas J. Steele
    Expand Collapse
    Guest

    Are you saying that you're expecting to be prompted for tablename and
    fieldname?

    Access doesn't allow you to do that. You'll have to build the SQL
    dynamically.

    --
    Doug Steele, Microsoft Access MVP
    http://I.Am/DougSteele
    (no private e-mails, please)


    "Lesley" <Lesley@discussions.microsoft.com> wrote in message
    news:14824151-D1BE-4241-BD89-15BDD1EFB86A@microsoft.com...
    >I have an update query (converted from a select query) where I'm trying to
    > update/populate a Route field using [tablename].[fieldname]; however, when
    > I
    > look at the data in View everything looks ok. But, when I click run, I
    > recieve an "enter parameter value" prompt.
    >
    > Can anyone tell me WHY I'm getting that message when I'm merely trying to
    > update the data into another table???
    >
    >
     
  5. lgalumbres@gmail.com

    lgalumbres@gmail.com
    Expand Collapse
    Guest

    could you post your sql statement?

    Lesley wrote:
    > I have an update query (converted from a select query) where I'm trying to
    > update/populate a Route field using [tablename].[fieldname]; however, when I
    > look at the data in View everything looks ok. But, when I click run, I
    > recieve an "enter parameter value" prompt.
    >
    > Can anyone tell me WHY I'm getting that message when I'm merely trying to
    > update the data into another table???
     

Share This Page