Results 1 to 2 of 2
  1. #1
    nostr4d4m is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011

    Re-Usable form/query parameter


    I have one form called customerInfo that displays all information about this customer. This form gets customer infromation from query named QCustomerInfo that requires parameter CustomerId. Before i just linked customerId parameter to AllCustomers Form (Forms![AllCustomers]![CustomerId]) that was responsible starting customerInfo form. Now i have few other forms that should open customer info form, and my customerId can come either from AllCustomers or Form B. Is there any way to reuse this query? otherwise i have to create 1 query and 1 customerinfo form for each different location.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Nevada, USA
    An alternative would be to open the form with this technique (taking the parameter out of the query):

    BaldyWeb wherecondition
    Paul (wino moderator)
    MS Access MVP 2007-2019

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

Similar Threads

  1. Form with parameter query subform
    By shiphtfour in forum Forms
    Replies: 11
    Last Post: 12-29-2010, 06:43 PM
  2. Parameter query
    By doss13 in forum Queries
    Replies: 1
    Last Post: 06-26-2010, 06:11 AM
  3. Pass a Parameter From a form to a Query
    By DDillesha in forum Forms
    Replies: 1
    Last Post: 10-28-2009, 12:49 PM
  4. Report with Parameter Query/Form
    By maggioant in forum Reports
    Replies: 0
    Last Post: 10-09-2009, 09:48 AM
  5. Parsing data into something usable.
    By crownedzero in forum Import/Export Data
    Replies: 22
    Last Post: 08-05-2009, 07:18 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