Results 1 to 4 of 4
  1. #1
    Jen0dorf is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2015
    Location
    UK
    Posts
    453

    Code check please -query asking for perameter

    HI

    the following query

    Code:
    UPDATE tblDeceased SET tblDeceased.Inscription_link = [tblInMemorialsonly]![Inscription_link]
    WHERE (((tblDeceased.Mlink)=[tblInMemorialsonly]![Mlink]) AND ((tblDeceased.Plot)=[tblInMemorialsonly]![Plot]) AND ((tblDeceased.GraveNo)=[tblInMemorialsonly]![GraveNo]));
    For some reason when I run it I get the error

    Enter Perameter Value

    Code:
    tblInMemorialsonly!Inscription_link
    ( the code wraps are in case the board treats it as code.

    Would as usual appreciate any hints

    thanks

    Ian

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    You haven't joined that table into the query, so it is unknown. I can't recall the Access syntax right off, but build a simple select query that joins both tables, and then change it to an update query.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Jen0dorf is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2015
    Location
    UK
    Posts
    453
    Hi

    Thanks, silly me, always miss the basics

    cheers

    Ian

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    No problem. Likely the join makes the WHERE clause irrelevant.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. update sql code check
    By Jen0dorf in forum Access
    Replies: 3
    Last Post: 01-28-2016, 04:40 AM
  2. Replies: 2
    Last Post: 07-27-2015, 05:20 PM
  3. Check Box VBA code in a form
    By alirezamb in forum Access
    Replies: 3
    Last Post: 02-17-2015, 04:35 PM
  4. Replies: 5
    Last Post: 06-26-2014, 12:52 PM
  5. Replies: 4
    Last Post: 03-10-2014, 12:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums