Results 1 to 2 of 2
  1. #1
    sinned is offline Novice
    Windows 10 Office 365
    Join Date
    Dec 2022
    Posts
    2

    Form & query help


    Hello all... I'm building a data base to enter sales orders and work order to track where in our shop they are at and what time they were scanned. Its a pretty basic data base, I am using a form to enter data into the external database. In my entry form I want to show all prior entries for a sales order as the user is entering more locations. I have created a query and added it to the form but dont know how to have it look up all the data in the table that is already entered. I tried "[Forms]![SO Entry]![SO Number].[OnEnter]" and all this does is add it to the query and it doesnt show all the data from the table. AS you can see below, as we are entering the SO Number and tab out of that field (or enter) and go to next field we want the query to tell us all prior entries of that same SO Number.

    Any help would be appreciated.


  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,521
    It looks like your attachment failed:

    https://www.accessforums.net/showthread.php?t=70301

    I doubt the "OnEnter" part of your reference is valid. You likely want to requery the subform in the after update event of the textbox.
    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. Replies: 3
    Last Post: 07-12-2017, 12:03 PM
  2. Replies: 6
    Last Post: 08-05-2016, 10:57 PM
  3. Replies: 0
    Last Post: 06-03-2014, 05:15 AM
  4. Replies: 7
    Last Post: 06-10-2013, 12:40 PM
  5. Replies: 7
    Last Post: 05-02-2012, 08:04 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