Results 1 to 5 of 5
  1. #1
    FrederikP is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Jan 2017
    Posts
    2

    Show data in form by selection

    I have a table in which inputs are entered on a daily basis. I do this to enter complete invoices for an entire month. I'd like to work with a sort of split-form which would give the details per invoice, per year and per month. At the moment, I can use a split form, but this gives all the data in my table at once. I would only like to see the data for the invoice, month and year I seleced. Hope I made it clear (see printscreen) and you guys could help me in the good direction?


    Click image for larger version. 

Name:	Voorbeeld.jpg 
Views:	9 
Size:	84.8 KB 
ID:	27281

    Thanks,
    Frederik.

  2. #2
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2007
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051
    A split form usually shows all the data you have in the data sheet part.

    Have you considered a "subform"


    Sent from my iPhone using Tapatalk

  3. #3
    FrederikP is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Jan 2017
    Posts
    2
    Hi Andy,

    I worked with a subform and seems that I got it. Just wanted to know how to make the list updated if I make a selection. If you look at the selection I made for January, than the "FactuurID" is 20050, while in the list on top the "FactuurID" is still 20082 which is the previous selection I made.

    Click image for larger version. 

Name:	voorbeeld2.jpg 
Views:	9 
Size:	38.1 KB 
ID:	27282

    Regards,
    Frederik.

  4. #4
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    User selects Year - Month listbox has a query which has a criteria of Year=Forms!Formname!Yearfieldname. In the OnClick of the Year you will have : Me!Monthfield.Requery.

    User selects Month. In the FactuurID box the query has two criteria: year and month. In the OnClick of the Month you will requery the FactuurID listbox.

    In the OnClick of the FactuurID event you will have: Me.Subformname.Requery

  5. #5
    Brightspark98 is offline Advanced Beginner
    Windows 7 64bit Access 2013 32bit
    Join Date
    Dec 2016
    Posts
    57
    From one novice to another,

    Have you tried adding a cmdButton and assign a macro to refresh the form. I had a similar problem and this worked for me.

    Mark

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

Similar Threads

  1. Replies: 1
    Last Post: 03-01-2016, 06:05 AM
  2. Replies: 2
    Last Post: 12-11-2015, 02:55 PM
  3. Replies: 1
    Last Post: 09-27-2011, 09:42 PM
  4. Replies: 1
    Last Post: 09-27-2011, 09:05 PM
  5. Replies: 6
    Last Post: 02-24-2011, 03:24 PM

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