INSERT 3 fields from 2 menus - make 3rd field dependent on choice of 1st menu?

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default INSERT 3 fields from 2 menus - make 3rd field dependent on choice of 1st menu?

    ASP/VBScript/Access db

    I need to submit 3 fields into a simple table. The 3 fields are:

    Event (taken from events table)
    Artist (taken from artists table)
    Organisation (Org ID, also taken from events table)

    For the 1st two fields I have created dynamic menus, taking data from other
    tables in my database.

    When a user selects an event, I want the Organisation ID to change according
    to their selection, BUT I want to submit the organisation ID as it's own
    field.

    At the moment, when I change the event in the first dynamic menu, the Org ID
    doesn't change.
    What do I need to do?

    Thanks
    Nath.


    Nathon Jones Guest

  2. Similar Questions and Discussions

    1. Link to a page dependent on Field Value
      ASP / MSSQL Hi I have a collectors database that stores details of various pieces of sporting memorabilia - books, medals, trophies etc. I've...
    2. Dependent Drop-down menus
      I have two drop down menus. The first has a department, and the second has a course number & title. I would like these to work so that the user...
    3. cfselect options dependent on choice from other cfselect
      I have 2 cfselects. 1st is category, 2nd is sub category. both are populated from database queries, but the options from the sub cat vary based...
    4. Client-side dependent menus
      Hi all, I'm trying to use a menu system in a form where the second menu is populated depending on what is chosen in the first (without returning...
    5. Multiple choice menu?
      Hi, what feature am I looking for when I need to get user input for selecting any combination of 12 values? The FMP6 solution will be a single...
  3. #2

    Default Re: INSERT 3 fields from 2 menus - make 3rd field dependent on choice of 1st menu?

    Sounds to me like you don't need an OrgID in this table, as the relationship
    between OrgID and EventId has already been defined in the Events table

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004


    Julian Roberts Guest

  4. #3

    Default Re: INSERT 3 fields from 2 menus - make 3rd field dependent on choice of 1st menu?

    Hi Jules,

    I do though, because I have an Intermediate table in Access, for associating
    Events, Artists and Organisations.

    Events Table - eventID
    Artists Table - artistID
    Organisation Table - orgID

    Intermediate Table - interID, eventID, artistID, orgID

    Make sense?

    Nath.

    "Julian Roberts" <newsg@charon.co.uk> wrote in message
    news:d0k736$hm$1@forums.macromedia.com...
    > Sounds to me like you don't need an OrgID in this table, as the
    > relationship between OrgID and EventId has already been defined in the
    > Events table
    >
    > --
    > Jules
    > [url]http://www.charon.co.uk/charoncart[/url]
    > Charon Cart 3
    > Shopping Cart Extension for Dreamweaver MX/MX 2004
    >
    >

    Nathon Jones Guest

  5. #4

    Default Re: INSERT 3 fields from 2 menus - make 3rd field dependent on choice of 1st menu?

    Why would you need the OrgID in this table if the OrgID is already in the
    Events table?

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004


    Julian Roberts Guest

  6. #5

    Default Re: INSERT 3 fields from 2 menus - make 3rd field dependent on choice of 1st menu?

    Hi Jules,

    Actually, I was following some advice from someone in the Access newsgroup.

    But you are, of course, right. There's no need to double that up - wonder
    why they suggested that? Was something to do with an Intermediate table,
    but maybe I picked them up wrong. It was because I was having trouble with
    a many-to-many relationship.

    Ie. Events have more than one artist, and some artists appear at more than
    one event.

    Anyway, I'll try taking that out, and we'll see if there's a way around it.
    Thanks for the advice.

    Nath.

    "Julian Roberts" <newsg@charon.co.uk> wrote in message
    news:d0kft9$ej0$1@forums.macromedia.com...
    > Why would you need the OrgID in this table if the OrgID is already in the
    > Events table?
    >
    > --
    > Jules
    > [url]http://www.charon.co.uk/charoncart[/url]
    > Charon Cart 3
    > Shopping Cart Extension for Dreamweaver MX/MX 2004
    >
    >

    Nathon Jones 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