Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2017
    Posts
    1

    Newbie here---add a variable amount of serial numbers to a table--

    Sorry Folk's,
    This might be something very simple but i'm kinda new to this.
    I'm trying to set up a kind of inventory database. This database will show all the different batches currently in stock and also the serial number in each batch.
    I am trying to figure out if i can a list of different serial numbers to a table.
    I want to record all the different serial numbers that come in a batch. A batch can contain anything between 3 and 100 different serial numbers.
    I know how to add one serial number but, how can i make this list variable and display all the different serial numbers associated with it?

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    It needs to be a separate table, linked to the batches table thru the BatchID, with one record per serial number.

  3. #3
    CodeLiftSleep is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    May 2017
    Posts
    48
    Quote Originally Posted by aytee111 View Post
    It needs to be a separate table, linked to the batches table thru the BatchID, with one record per serial number.
    That would be ideal, but he can also use a plain text string with a separator like a comma or a pipe( | ) between values and then split it into a variant array when he gets it back.

  4. #4
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Quote Originally Posted by CodeLiftSleep View Post
    That would be ideal, but he can also use a plain text string with a separator like a comma or a pipe( | ) between values and then split it into a variant array when he gets it back.
    But that would violate the Rules of Normalization:
    First normal form (1NF) http://www.1keydata.com/database-nor...l-form-1nf.php

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

Similar Threads

  1. Write Variable to Table (Newbie needs some help)
    By skotseno in forum Programming
    Replies: 6
    Last Post: 04-01-2016, 08:36 AM
  2. Autopopulating Serial Numbers
    By nkoenig34 in forum Programming
    Replies: 3
    Last Post: 01-19-2016, 11:07 AM
  3. Help with Serial numbers table
    By RandyP in forum Programming
    Replies: 2
    Last Post: 06-11-2014, 03:39 PM
  4. mutli serial numbers in one
    By wirelineuk in forum Queries
    Replies: 1
    Last Post: 10-11-2012, 01:26 PM
  5. Replies: 3
    Last Post: 12-21-2011, 10:49 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