Results 1 to 4 of 4
  1. #1
    shod90 is offline Competent Performer
    Windows 8 Access 2016
    Join Date
    Jan 2016
    Posts
    134

    Adding multiple records at a time


    Dear Gents,I have an application which some times users would enter the same record number of times everyday , So i need a way to let them insert multiple records on the same form one time only , Something like the attached example .
    If the user insert no of days 4 , Then the form sends to the table 4 records.

    Thank you.
    Attached Thumbnails Attached Thumbnails table.jpg   Form.jpg  

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    use an append query.
    it takes the items list and add them to the table.

    Queries are the answer for most data actions.

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Not sure an append query can increment the date. I'd probably use a For/Next loop using the two form controls and the AddNew method of a recordset.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    shod90 is offline Competent Performer
    Windows 8 Access 2016
    Join Date
    Jan 2016
    Posts
    134
    Thanks for your replies ranman256 , Pbaldy .
    Actually , Still my experience not too much to understand easily your replies
    i also got an idea which in need your help as well maybe easier than the above request .
    what about listing the dates in a multiselect listbox .
    As an example :
    today is 14/Aug/2016
    i need to show 1 month in the multiselect listbox ( 15 days before 14/Aug and 15 days after )
    Also i need it dynamically , So if we are on 20/Sep/2016 i want the first item in listbox will be 5th of Sep and last item will be 5th of Oct.

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

Similar Threads

  1. Adding Multiple Records
    By tezy1994 in forum Access
    Replies: 8
    Last Post: 11-26-2013, 09:57 PM
  2. Replies: 16
    Last Post: 02-06-2013, 09:23 AM
  3. Adding a date to multiple records in table
    By KChilly in forum Programming
    Replies: 9
    Last Post: 08-30-2012, 10:43 AM
  4. Adding multiple records from one form
    By sotssax in forum Forms
    Replies: 8
    Last Post: 07-17-2011, 11:16 AM
  5. Adding multiple records in subform
    By randolphoralph in forum Programming
    Replies: 1
    Last Post: 05-12-2010, 09:42 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