+ Reply to Thread
Results 1 to 2 of 2

Create a varying number of new records from one form

  1. #1
    Registered User
    Join Date
    07-10-2018
    Location
    Uk
    MS-Off Ver
    MS365 Version 2102
    Posts
    86

    Create a varying number of new records from one form

    Hi All,

    I have two tables in my database [tbltools] which has 10 fields (tools1 to tools10) and [tbltoolgroups] which has 7 fields (toolgroups1 to toolgroups7)

    I am in the process of creating a form that the end user can use to define a tool group (will be stored in [tbltoolgroups])

    The basic layout of the form consists of a top section with textboxes for fields toolgroups1 to toolgroups5 and then in the section below x60 multicolumn comboboxes (These will use a 4 fields from [tbltools ]I need 60 as the tool groups range between 2 & 60 tools) with an adjacent quantity box(To determine how many of the specified tool is required) with the idea being that the user can then populate as many or as little of comboboxes and quantity boxes as required.

    I have created the above mentioned top section of the form and have created one of the multicolumn comboboxes but I am not sure how to deal with creating multiple records depending on how many comboboxes are populated? As I could need to enter up to 60 records into [tbltoolgroups] at once but with only fields toolgroups2 and toolgroups6 changing based on the users selection from the comboboxes.

    test.jpg

    Hope this makes sense?

    Thanks for any help

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Create a varying number of new records from one form

    I think that your issue will be convoluted as you do not have normalized tables. Suggest your read this white paper on how to set up tables in your db so that they are normalized and allow for easy manipulations

    You have posted in the Access sub forum. This is an Access issue?
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Automatically create a table from varying number of rows
    By djon2007 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-15-2021, 03:35 AM
  2. Form displays number of records of subform
    By simon_geoghegan in forum Access Tables & Databases
    Replies: 0
    Last Post: 11-26-2014, 09:20 AM
  3. code to create unique alphanumeric form number every time form is opened
    By Ishwarind in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-01-2014, 06:16 AM
  4. How do I create a chart that shows a varying number of rows of data?
    By alexander.small in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-23-2013, 04:29 AM
  5. Create a Macro to perform a custom sort on varying number of rows
    By Shirley Munro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-29-2013, 07:09 PM
  6. Popiulate Table from Data Range With Varying number of Records
    By CDEG in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-01-2013, 10:43 PM
  7. Replies: 0
    Last Post: 11-26-2007, 09:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1