Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    rochy81 is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2008
    Posts
    22

    Recommendation On Creation of this Table

    Hello,



    Please view attached excel file.
    I don't know how I would create a table for something like this.

    As you can see, each part number has different quantities for the same dates.

    Please help me out

    Thank you

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I don't know what the quantities represent but I'll call them deliveries.

    Code:
    TableName - Deliveries
      DeliveryID - Autonumber
      PartNumber - Text
      DeliveryDate - DateTime
      Quantity - Long
    Each "quantity" listed in your spreadsheet will be on a separate record.

  3. #3
    rochy81 is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2008
    Posts
    22
    Thanks for your help!

    Well, the thing is, this excel file comes from another source and i want to do a simple export into access. However, the way you recommended suggests that I would have to enter in all the information manually.

    Is there a way to just import all of my information form this excel file into a format like that?

  4. #4
    rochy81 is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2008
    Posts
    22
    err, import into access, not export. sorry

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Import the spreadsheet as it is and normalize it after you have it in Access.

  6. #6
    rochy81 is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2008
    Posts
    22
    Thanks again Ruralguy,

    Sorry but another question, haha. Again, thanks!

    So I imported it into the Access Database but what does it mean to normalize?

    I'm very new to this as you can see...

    Please see attached file

  7. #7
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    The table I described is normalized. Your spreadsheet was a flat file which is fine for a spreadsheet but not very useful in an RDBMS.

  8. #8
    rochy81 is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2008
    Posts
    22
    Please look at the normalize database.

    So you basically mean something like this.
    It's only 3 part numbers worth so its a long process.

    Is there any easier way you recommend?

  9. #9
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Let me work on it a bit.

  10. #10
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You can call the NormalizeIt sub from the immediate window. After importing the sheet I did complete the date field sequence by hand.

  11. #11
    rochy81 is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2008
    Posts
    22
    Thank you for your help!

  12. #12
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I does not look like you downloaded what I posted. Have you looked at it?

  13. #13
    rochy81 is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2008
    Posts
    22
    Wow, this is great!

    Thank you again!

  14. #14
    rochy81 is offline Novice
    Windows Vista Access 2007
    Join Date
    Sep 2008
    Posts
    22
    Yeah, just dled it and looked at it.

    You are a genius sir! Saved me a lot of time.

  15. #15
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Glad I could help. It was fun.

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 03-29-2009, 07:20 AM
  2. help with database creation
    By terrep263 in forum Database Design
    Replies: 1
    Last Post: 08-30-2006, 07:59 AM
  3. Will Pay $$$ for help w/ database creation!
    By eyesbryte in forum Access
    Replies: 1
    Last Post: 07-03-2006, 01:56 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