ASP - SQL / Advice Please!

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default ASP - SQL / Advice Please!

    Hiya Everyone,

    I hope someone can help me out with this!

    I'm devloping a product database, and have hit a brick wall. I was
    hoping some experts in here might be able to give me a little advice
    as I think I'm missing something.

    I'm using ASP and an Access 2000 DB.

    The goal is to create a site that enables you to build your own PC to
    your spec, you start off with 6 motherboards to choose from, you
    select your desired motherboard which takes you to the next page and
    allows you to select your CPU, RAM, Video Card etc etc from drop down
    menus and tick boxes. The problem is, as everyone knows, only certain
    components will fit certain motherboards. So, I need to some how
    associate the right components with the correct motherboards.

    Hope you're keeping up!

    I've started by creating one table for the motherboards, and a
    seperate table for the other components. I need to connect the 2
    tables, so when you click the motherboard you want it populates the
    drop down menus with the correct components from the database!

    I hope this makes sense!

    My quesiton is: whats the easiest and most efficient way to approach
    this?

    Any advice would be great, or if someone could point me to some
    related tutorials it would be very much appreciated!

    Thanks in advance,

    Tom
    Tommyj Guest

  2. Similar Questions and Discussions

    1. Advice
      Hello All, I am looking for advice on the purchase of a digital camera. I will be using it primarily for personal photos, and to e-mail shots...
    2. Help and Advice
      Hi, I have a dynamic menu in my Intranet application that loads from a database. What I would like to do is to make parent nodes visible based on...
    3. some advice please
      Hallo, I have to make a web application in Javascript/ASP for tenniscourt reservation (based on Access database). I would like to do everything...
    4. A bit of advice!
      Hi guys, im kinda new to this forum stuff, and i was wondering if anyone could help me out. I'm using 3d Studio Max 5 and Director MX for a...
    5. Need advice
      Hi I am in the process of "beautifying" a web site based on PHP + XTemplate. I wish to include a fixed left navigation bar on almost all the pages....
  3. #2

    Default Re: ASP - SQL / Advice Please!

    "Tommyj" <tommyj@talk21.com> wrote in message
    news:14465c12.0402150923.4d17090@posting.google.co m...
    > Hiya Everyone,
    >
    > I hope someone can help me out with this!
    >
    > I'm devloping a product database, and have hit a brick wall. I was
    > hoping some experts in here might be able to give me a little advice
    > as I think I'm missing something.
    >
    > I'm using ASP and an Access 2000 DB.
    >
    > The goal is to create a site that enables you to build your own PC to
    > your spec, you start off with 6 motherboards to choose from, you
    > select your desired motherboard which takes you to the next page and
    > allows you to select your CPU, RAM, Video Card etc etc from drop down
    > menus and tick boxes. The problem is, as everyone knows, only certain
    > components will fit certain motherboards. So, I need to some how
    > associate the right components with the correct motherboards.
    >
    > Hope you're keeping up!
    >
    > I've started by creating one table for the motherboards, and a
    > seperate table for the other components. I need to connect the 2
    > tables, so when you click the motherboard you want it populates the
    > drop down menus with the correct components from the database!
    >
    > I hope this makes sense!
    >
    > My quesiton is: whats the easiest and most efficient way to approach
    > this?
    >
    > Any advice would be great, or if someone could point me to some
    > related tutorials it would be very much appreciated!
    >
    > Thanks in advance,
    >
    > Tom
    I would define a "motherboard_type" column in the motherboard table and the
    other_components table. . All other_component records should have a value
    in this column that matches the relevant record(s) in the motherboard
    table.

    --
    John Blessing

    [url]http://www.LbeHelpdesk.com[/url] - Help Desk software priced to suit all
    businesses
    [url]http://www.free-helpdesk.com[/url] - Completely free help desk software !
    [url]http://www.lbetoolbox.com[/url] - Remove Duplicates from MS Outlook


    John Blessing Guest

  4. #3

    Default Re: ASP - SQL / Advice Please!

    Create a column in your motherboard table and call it VIDGroup do same in
    video card table then just associate together
    Select videocard from tblVidCards where tblVideoCards.Vidgroup =
    tblMotherBoard.VidGroup
    Do same for other dependant parts.

    Regards
    Don


    "Tommyj" <tommyj@talk21.com> wrote in message
    news:14465c12.0402150923.4d17090@posting.google.co m...
    > Hiya Everyone,
    >
    > I hope someone can help me out with this!
    >
    > I'm devloping a product database, and have hit a brick wall. I was
    > hoping some experts in here might be able to give me a little advice
    > as I think I'm missing something.
    >
    > I'm using ASP and an Access 2000 DB.
    >
    > The goal is to create a site that enables you to build your own PC to
    > your spec, you start off with 6 motherboards to choose from, you
    > select your desired motherboard which takes you to the next page and
    > allows you to select your CPU, RAM, Video Card etc etc from drop down
    > menus and tick boxes. The problem is, as everyone knows, only certain
    > components will fit certain motherboards. So, I need to some how
    > associate the right components with the correct motherboards.
    >
    > Hope you're keeping up!
    >
    > I've started by creating one table for the motherboards, and a
    > seperate table for the other components. I need to connect the 2
    > tables, so when you click the motherboard you want it populates the
    > drop down menus with the correct components from the database!
    >
    > I hope this makes sense!
    >
    > My quesiton is: whats the easiest and most efficient way to approach
    > this?
    >
    > Any advice would be great, or if someone could point me to some
    > related tutorials it would be very much appreciated!
    >
    > Thanks in advance,
    >
    > Tom

    Don Grover Guest

  5. #4

    Default ASP - SQL / Advice Please!

    Hi,

    Best practice in this situation, when you are trying to
    implement a many to many relationship between two tables,
    is to add a third intermediary table that links the two.

    For example:

    Motherboards
    ------------
    motherboardID
    brand
    etc

    Components
    ----------
    componentID
    brand
    etc

    MotherboardComponents
    ---------------------
    motherboardID
    componentID

    This will allow you the greatest flexibility with the
    least administration. Any number of components can then
    be linked with any number of motherboards.

    Sincerely,
    Invotion Engineering Team
    Advanced Microsoft Hosting Solutions
    [url]http://www.Invotion.com[/url]

    >-----Original Message-----
    >Hiya Everyone,
    >
    >I hope someone can help me out with this!
    >
    >I'm devloping a product database, and have hit a brick
    wall. I was
    >hoping some experts in here might be able to give me a
    little advice
    >as I think I'm missing something.
    >
    >I'm using ASP and an Access 2000 DB.
    >
    >The goal is to create a site that enables you to build
    your own PC to
    >your spec, you start off with 6 motherboards to choose
    from, you
    >select your desired motherboard which takes you to the
    next page and
    >allows you to select your CPU, RAM, Video Card etc etc
    from drop down
    >menus and tick boxes. The problem is, as everyone knows,
    only certain
    >components will fit certain motherboards. So, I need to
    some how
    >associate the right components with the correct
    motherboards.
    >
    >Hope you're keeping up!
    >
    >I've started by creating one table for the motherboards,
    and a
    >seperate table for the other components. I need to
    connect the 2
    >tables, so when you click the motherboard you want it
    populates the
    >drop down menus with the correct components from the
    database!
    >
    >I hope this makes sense!
    >
    >My quesiton is: whats the easiest and most efficient way
    to approach
    >this?
    >
    >Any advice would be great, or if someone could point me
    to some
    >related tutorials it would be very much appreciated!
    >
    >Thanks in advance,
    >
    >Tom
    >.
    >
    Invotion Guest

  6. #5

    Default Re: ASP - SQL / Advice Please!

    Or perhaps do things on one page that gets refreshed after each listbox
    change.

    ASP Design Tips - Dependent Listboxes
    [url]http://www.bullschmidt.com/devtip-dependentlistboxes.asp[/url]

    Best regards,
    J. Paul Schmidt, Freelance ASP Web Developer
    [url]http://www.Bullschmidt.com[/url]
    ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Bullschmidt Guest

  7. #6

    Default Re: ASP - SQL / Advice Please!

    thanks for the advice fellas! You've been a massive help.

    I think I'm going to go with the option of having 3 tables, it seems
    the most straight forward for my situation.

    Regards,

    Tom

    Bullschmidt <paul@bullschmidt.com-nospam> wrote in message news:<OL15pjO9DHA.2856@TK2MSFTNGP10.phx.gbl>...
    > Or perhaps do things on one page that gets refreshed after each listbox
    > change.
    >
    > ASP Design Tips - Dependent Listboxes
    > [url]http://www.bullschmidt.com/devtip-dependentlistboxes.asp[/url]
    >
    > Best regards,
    > J. Paul Schmidt, Freelance ASP Web Developer
    > [url]http://www.Bullschmidt.com[/url]
    > ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!
    Tommyj Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139