Results 1 to 2 of 2
  1. #1
    Join Date
    May 2013
    Posts
    1

    Smile Design - Soil\water sample database

    Hi guys,



    I'm trying to design a database to store soil\water sample information. My current needs require fields for:

    ID - Text or Number, would like it to display like 13-1112 (13=year, 1112=sample number of that year). the sample number can be from 1 to 99999. Not sure how to custom format this field.
    SampleName - Text
    SampleDate - Date

    after those 3 fields, I would also like to store what elements the sample was analyzed for and it's value.

    Not every sample will have the same list of analytes. Will I have to create a separate field for all the elements that "could" have a value or is there an easier (dynamic) way?

    Thanks and please ask if you need clarification!
    Scott

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    Here is how I generate custom unique ID like you describe: http://forums.aspfree.com/microsoft-...ta-403208.html

    The 'dynamic' way is a child table of analytes associated with sample. A record for each analyte found and its value for each sample.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 7
    Last Post: 05-06-2012, 12:20 PM
  2. Replies: 6
    Last Post: 06-27-2011, 07:11 PM
  3. sample database
    By TP takamiya in forum Access
    Replies: 4
    Last Post: 10-06-2010, 07:33 PM
  4. ULS database sample please...
    By genesis in forum Access
    Replies: 1
    Last Post: 07-17-2009, 12:12 PM
  5. Northwind sample database query
    By wasim_sono in forum Programming
    Replies: 5
    Last Post: 02-28-2006, 07:34 AM

Tags for this Thread

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