Results 1 to 2 of 2
  1. #1
    bubba55 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Location
    SC
    Posts
    11

    Where does the data go?

    When you create a query in access, for example



    SELECT Customer.LastName, Customer.FirstName, Customer.CellPhone, Customer.Email
    FROM Customer
    WHERE ((([Customer]![CustomerID])=[Customer]![ID]));

    You get a pop up asking for the CustomerID you wish to use. Enter a CustID and the query returns a view with the requested data.

    My question is, what happens to the ID that you entered? Is it available for use in other querries?

    I want to run a couple of querries where I need CustID as the value passed, but, I only want to have to enter it once. How can I do this?

    THANKS!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,630
    Responses to query parameter prompts are not available for further use. Build a form for users to enter criteria. Queries refer to the form control (text, list, combo box) for the input parameter. Check out tutorials at http://datapigtechnologies.com/AccessMain.htm Go to section Access Forms: Tips - Custom Filter, Search Form
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 4
    Last Post: 01-05-2011, 07:56 AM
  2. Find data, load data, and save as a new record
    By hawzmolly in forum Access
    Replies: 0
    Last Post: 10-05-2008, 03:18 PM

Tags for this Thread

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