Results 1 to 4 of 4
  1. #1
    jefflach is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    5

    Creating a form to handle multiple new records

    Hello all - I've been using this forum (as a read only user!) for a while and finally came across a situation where I really couldn't find an answer to my question so here goes my first post. I have a database that is intended to handle project budgeting. The basic premise is that for everyone one project there are multiple "detail lines" that make up the external costs for the project (i.e. Software, Hardware, Consulting, costs). I have a form that asks users to populate the high level detail about the project (project name, department, sponsor, etc) which simply writes a new record for each project to a table. Simple enough. My problem becomes adding the detail lines for the project from a single form. I'd like the user to go from entering the high level detail to another form that lets them add up to 8 or 10 line items for each project. I tried using unbound controls and SQL (INSERT INTO) to write to the detail lines table but couldn't get the syntax right. Is there a simple way to do this? I can't seem to figure out how to allow multiple line items on one form and then write them to a table, and do it without writing blank lines for unpopulated fields... I've attached a photo of the form to give you the basic idea of what I'm trying to accomplish. Thanks in advance for any help!Click image for larger version. 

Name:	detail lines.jpg 
Views:	24 
Size:	59.5 KB 
ID:	9450

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    What I think you want is to create a 'Master Detail' Form.
    Check this link:
    http://office.microsoft.com/en-us/ac...101872705.aspx
    Hope this helps!!

  3. #3
    jefflach is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    5
    Worked perfectly. I ended up creating a separate form as a continuous form to handle this in the long run since my screen became too cumbersome. Thanks for your help!

  4. #4
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    You're welcome! All the best.

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

Similar Threads

  1. Replies: 2
    Last Post: 02-28-2012, 12:43 PM
  2. How to handle multiple user levels
    By nkuebelbeck in forum Access
    Replies: 2
    Last Post: 08-23-2011, 10:56 AM
  3. Creating multiple records from a single form
    By secretary in forum Forms
    Replies: 8
    Last Post: 07-18-2011, 04:03 PM
  4. Is this the best way to handle changing records?
    By teresamichele in forum Access
    Replies: 17
    Last Post: 02-14-2011, 09:58 AM
  5. Replies: 4
    Last Post: 01-25-2010, 04:14 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