Results 1 to 5 of 5
  1. #1
    DomSza is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2016
    Posts
    4

    Multiple Lines Form

    Hi All,

    I'm having an issue with creating a multiple lines form in a sub form. I have the basic layout set up correctly, which works fine. It's supposed to record each Product Code and quantity on a new line and the Customer Number, PO number and Delivery Date are repeated on each line.

    Click image for larger version. 

Name:	OrderForm.png 
Views:	14 
Size:	9.8 KB 
ID:	24926

    Unfortunately, as you can see in the image below, only the Customer Number is duplicating correctly. The PO Number and Delivery date are not entered on each line. I didn't change any of the form field settings for the Customer Number, as they are identical to the other two fields, so I can't figure out why only this one is working.



    Click image for larger version. 

Name:	OrderForm2.png 
Views:	13 
Size:	10.7 KB 
ID:	24925

    This is what I was expecting to happen.

    Click image for larger version. 

Name:	OrderForm3.png 
Views:	13 
Size:	8.5 KB 
ID:	24927

    Thank you for your help,
    Dom

  2. #2
    mbenton's Avatar
    mbenton is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jul 2015
    Posts
    73
    Are you using more than 1 table? If so try creating a query first, then build your form off the query.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    the sub form is prob linked on just 1 field. (which is all it needs)
    but if you want more items in the subform, in design mode of master form,
    click subform object
    properties (data tab)
    set the LINK MASTER FIELDS and CHILD FIELDS ...to all the fields in the master field you want duplicated

  4. #4
    DomSza is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2016
    Posts
    4
    Hi Ranman,

    That's perfect! Thank you!

    For anyone else who stumbles across this thread:

    Click image for larger version. 

Name:	OrderForm4.png 
Views:	12 
Size:	7.2 KB 
ID:	24928

  5. #5
    NightWalker's Avatar
    NightWalker is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2016
    Location
    Midwest USA
    Posts
    253
    DomSza,

    Thank you for posting your final step. It makes it easier to know if I am doing same thing correctly. Many times I follow a post then cannot get the last step without asking more questions. Again thank you.

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

Similar Threads

  1. Replies: 1
    Last Post: 04-19-2016, 09:56 AM
  2. Replies: 2
    Last Post: 10-10-2013, 02:27 PM
  3. Split one record into multiple lines
    By Sally in forum Access
    Replies: 1
    Last Post: 03-11-2013, 07:03 PM
  4. Creating a String in VBA over multiple lines
    By Mazdaspeed6 in forum Programming
    Replies: 13
    Last Post: 01-03-2011, 12:32 PM
  5. Creating Multiple Lines per Member
    By SecretGeek in forum Access
    Replies: 2
    Last Post: 08-20-2010, 06:19 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