Results 1 to 3 of 3
  1. #1
    Srin is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Jun 2015
    Posts
    59

    Access forms to display records

    Hi,



    I have a form on access, that displays data for the customer and products that he has purchased. I want to set it up in such a way that if I click on the customer it shows all the products he has purchased. And if i click on the products, it goes to the product information page(form).

    I currently have a form in which I have put in two text boxes that have the product and customer fields as data source. The form displays records from a query that is used to filter the customer's purchased products sorted ascending.

    The form is working partly correct. It displays only one product from the customer that is in ascending order but not all. If I add more text boxes, it displays the same first product repeatedly.

    How can I set it up as to display all the products that the customer bought for each customer?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,648
    Maybe use form/subform arrangement. Main form bound to customers table and subform bound to orders table. What 'product information' do you want to display? This could be included in the subform.

    Have an unbound combobox on main form for input of customer to search for. Review http://www.allenbrowne.com/ser-62.html

    Really need better understanding of data structure to advise.
    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.

  3. #3
    Srin is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Jun 2015
    Posts
    59
    Thanks, I understood the idea behind your suggestion.

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

Similar Threads

  1. Access 2013 subform not display records
    By raphael99 in forum Programming
    Replies: 8
    Last Post: 04-13-2015, 02:48 PM
  2. display FORMS UPON OPENING ACCESS FILE
    By vnms2001 in forum Access
    Replies: 3
    Last Post: 06-18-2014, 01:22 PM
  3. Making Access display records sequentially
    By louislinti in forum Access
    Replies: 1
    Last Post: 10-05-2013, 04:49 PM
  4. Replies: 15
    Last Post: 06-04-2012, 04:47 PM
  5. Replies: 7
    Last Post: 10-20-2010, 04:08 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