Results 1 to 5 of 5
  1. #1
    martyuk1975 is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Aug 2018
    Posts
    2

    Lightbulb Access qry run from within a table

    Morning all, I have a linked Qry on access that looks up other data depending on what you select in other primary fields but the Qry only displays and runs for the first entry and does not refresh per entry line.

    Does anyone know how to make a Qry refresh on each no database entry line/input?



    Many thanks for you help in advance.

    Martin.

  2. #2
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,144
    What is the query?
    In the query window right click and select SQL View. Copy and paste that here.
    Enclose it with the code tags by highlighting it and clicking the # key in the thread reply editor.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    martyuk1975 is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Aug 2018
    Posts
    2
    SELECT DISTINCT EQU_LIST.[Process Code]
    FROM EQU_LIST INNER JOIN MAIN_DATABASE ON EQU_LIST.[Process Level] = MAIN_DATABASE.[Process Level]
    WHERE ((([MAIN_DATABASE]![Process Level])=[EQU_LIST]![Process Level]));

    This is the QRY that is linked to the process code on the MAIN DATABASE..

    I want it just to allow a selection from a dropdown in the table when a certain process level is selected.

  4. #4
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,144
    Remove the criteria (the WHERE Clause)- as you already have that in the join properties.

    If that doesn't work, remove the DISTINCT , although I'm sure that isn't your problem.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    martyuk

    This objective doesn't seem to match your thread title
    I want it just to allow a selection from a dropdown in the table when a certain process level is selected.
    What exactly are you trying to do in simple English?
    You may want to research Forms and Controls.

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

Similar Threads

  1. Replies: 2
    Last Post: 08-31-2017, 12:19 PM
  2. Export Data from Access 2003 Table to SQL Server 2012 Table.
    By Robeen in forum Import/Export Data
    Replies: 3
    Last Post: 02-26-2016, 02:07 PM
  3. Replies: 4
    Last Post: 01-21-2015, 09:34 AM
  4. Replies: 13
    Last Post: 05-15-2013, 09:52 AM
  5. Replies: 2
    Last Post: 10-27-2009, 07:09 AM

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