Results 1 to 3 of 3
  1. #1
    Stephanie53 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    246

    Primary and Subparts - Need Major Experienced in Access Help Here


    Ok here is my delima:

    I have created at excel spread sheet called Assembly Line. In it is a copy of the following to show what it looks like:

    4774-2001 2.5 Grade D 5,000 PSI 0
    4774-2390 ALSO SOUR SERVICE 2.5 Grade D 5,000 CHOKE & KILL 0
    940HXX+40C 2.5 x 2.5 Male API Threads
    940HXX+48C 2.5 x 3.0 Male API Threads
    F64-7 2.5" Grade D Finishing Ferrule
    5.5" I.D. REFRASIL 2.5" Grade D Hose
    73610861 2.5" Schedule 160 Lifitng Eye
    73610825 2.5" GRADE D SAFETY CLAMP
    4774-4001 3.0 Grade D 5,000 PSI 0
    4774-4390 ALSO SOUR SERVICE 3.0 Grade D 5,000 CHOKE & KILL 0
    948HXX+48A 3.0 x 3.0 Male API Threads
    948HXX+64A 3.0 x 4.0 Male API Threads
    948HXX+64WB-A 3.0 x 4.0 160 WB
    3.0" FIG. 1502 X 3.0 BW 3.0" FIG. 1502 X 3.0 160 BW
    2 1/16" 5K X 3.0 BW 2 1/16" 5K X 3.0 160 BW
    3 1/8" 5K X 3.0 BW 3 1/8" 5K X 3.0 160 BW
    3.0" Schedule 160 3.0" Schedule 160 Per End
    F80-1 3.0" Grade D Finishing Ferrule
    5.5" I.D. REFRASIL 3.0" Grade D Hose
    5.25" - 24 GA. INTERLOK ARMOR FOR 3.0" GRADE D HOSE
    73610863 3.0" Schedule 160 Lifting Eye
    73610830 3.0" GRADE D SAFETY CLAMP
    T-7361-0830-2B 3.0" GRADE D SFTY CLP 2 BOLT

    The top 2 lines in each section is a type of Hose (the Primary) and the lines underneath it is the assembly choices to go with that hose (Subparts)

    Now here is the delima:

    1. Do I just bring over this spreadsheet in this format to a table in Access? (either link or straight entry)
    2. After its brought into Access how do I get it to read when making the Hose selection that it gives only choices for that Hose?

    I know a little bit of VBA but not enough so I made need help to create this form on this too

    I thank everyone with their paitence on this and their help

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Think you need two tables.

    One table for hoses (ID, Description).
    ID Description
    4774-2001 2.5 Grade D 5,000 PSI
    4774-2390 2.5 Grade D 5,000 CHOKE & KILL
    4774-4001 3.0 Grade D 5,000 PSI
    4774-4390 3.0 Grade D 5,000 CHOKE & KILL


    One table to associate each hose with its component parts.
    ID PrimaryID SubpartID SubpartDesc
    1 4774-2001 940HXX+40C 2.5 x 2.5 Male API Threads
    2 4774-2001 940HXX+48C 2.5 x 3.0 Male API Threads
    3 4774-2001 F64-7 2.5" Grade D Finishing Ferrule
    4 4774-2001 5.5" I.D. REFRASIL 2.5" Grade D Hose
    5 4774-2001 73610861 2.5" Schedule 160 Lifitng Eye
    6 4774-2001 73610825 2.5" GRADE D SAFETY CLAMP
    7 4774-2390 940HXX+40C 2.5 x 2.5 Male API Threads
    8 4774-2390 940HXX+48C 2.5 x 3.0 Male API Threads
    9 4774-2390 F64-7 2.5" Grade D Finishing Ferrule
    10 4774-2390 5.5" I.D. REFRASIL 2.5" Grade D Hose
    11 4774-2390 73610861 2.5" Schedule 160 Lifitng Eye
    12 4774-2390 73610825 2.5" GRADE D SAFETY CLAMP
    13 4774-4001 948HXX+48A 3.0 x 3.0 Male API Threads
    14 4774-4001 948HXX+64A 3.0 x 4.0 Male API Threads
    15 4774-4001 948HXX+64WB-A 3.0 x 4.0 160 WB
    16 4774-4001 3.0" FIG. 1502 X 3.0 BW 3.0" FIG. 1502 X 3.0 160 BW
    17 4774-4001 2 1/16" 5K X 3.0 BW 2 1/16" 5K X 3.0 160 BW
    18 4774-4001 3 1/8" 5K X 3.0 BW 3 1/8" 5K X 3.0 160 BW
    19 4774-4001 3.0" Schedule 160 3.0" Schedule 160 Per End
    20 4774-4001 F80-1 3.0" Grade D Finishing Ferrule
    21 4774-4001 5.5" I.D. REFRASIL 3.0" Grade D Hose
    22 4774-4001 5.25" - 24 GA. INTERLOK ARMOR FOR 3.0" GRADE D HOSE
    23 4774-4001 73610863 3.0" Schedule 160 Lifting Eye
    24 4774-4001 73610830 3.0" GRADE D SAFETY CLAMP
    25 4774-4001 T-7361-0830-2B 3.0" GRADE D SFTY CLP 2 BOLT
    26 4774-4390 948HXX+48A 3.0 x 3.0 Male API Threads
    27 4774-4390 948HXX+64A 3.0 x 4.0 Male API Threads
    28 4774-4390 948HXX+64WB-A 3.0 x 4.0 160 WB
    29 4774-4390 3.0" FIG. 1502 X 3.0 BW 3.0" FIG. 1502 X 3.0 160 BW
    30 4774-4390 2 1/16" 5K X 3.0 BW 2 1/16" 5K X 3.0 160 BW
    31 4774-4390 3 1/8" 5K X 3.0 BW 3 1/8" 5K X 3.0 160 BW
    32 4774-4390 3.0" Schedule 160 3.0" Schedule 160 Per End
    33 4774-4390 F80-1 3.0" Grade D Finishing Ferrule
    34 4774-4390 5.5" I.D. REFRASIL 3.0" Grade D Hose
    35 4774-4390 5.25" - 24 GA. INTERLOK ARMOR FOR 3.0" GRADE D HOSE
    36 4774-4390 73610863 3.0" Schedule 160 Lifting Eye
    37 4774-4390 73610830 3.0" GRADE D SAFETY CLAMP
    38 4774-4390 T-7361-0830-2B 3.0" GRADE D SFTY CLP 2 BOLT


    What does ALSO SOUR SERVICE mean?

    Try dependent (cascading) combobox to constrain subpart choices to selected primary. Review http://datapigtechnologies.com/flash...combobox2.html
    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.

  3. #3
    Stephanie53 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    246
    I have no idea what SOUR SERVICE means..lol I just work in the office :-) I will create these tables as stated above and let you know how that turns out..

    Thank you for your help so far!!

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

Similar Threads

  1. Replies: 5
    Last Post: 04-24-2012, 10:26 AM
  2. Replies: 1
    Last Post: 03-10-2012, 07:34 AM
  3. Probably simple problem for experienced Access users
    By Needaccesshelpplease in forum SQL Server
    Replies: 7
    Last Post: 02-28-2012, 10:16 AM
  4. Replies: 1
    Last Post: 07-10-2011, 07:09 PM
  5. Major newbie needing help
    By Dragox in forum Access
    Replies: 5
    Last Post: 06-02-2010, 05:14 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