Populating DropDown in webform

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dmedina

    Populating DropDown in webform

    #1) put the data in table AA and put a flag like "New
    Detail" yes,no and requery you database and if user has
    selected "New Detail" then add ther previous data plus the
    data with the flag....

    #2) when user finish entering the "new Detail option
    requery your previous data from Table AA and temp data
    from table BB, I am sure that the table AA and BB as the
    same schema...


    hope this help,
    dmedina
    [color=blue]
    >-----Original Message-----
    >Hi,
    >
    >I have come across a problem, and don't know which is the[/color]
    best way to go about it.[color=blue]
    >
    >I have a webform, which has a textbox 'txtZip' and a[/color]
    dropdown 'ddDetails'.[color=blue]
    >
    >ontextchange of txtZip, i populate the ddDetails by[/color]
    querying a table AA. ddDetails now contains information
    such as Name, Address, City, State and Zip.[color=blue]
    >
    >I added 'New Detail' at the bottom on the code in case[/color]
    the details doesn't exist in table AA.[color=blue]
    >
    >When 'New Detail' is selected, a form is made visible and[/color]
    the user enters this information and the information is
    now stored in a temp. table BB and i store it in XML
    Format too.[color=blue]
    >
    >Now, the problem that i am facing is that i want to[/color]
    populate the dropdown with this new information along with
    the rest of the previous held data.[color=blue]
    >
    >so basically, i want to populate the ddDetails with[/color]
    information from table AA and from the XML file.[color=blue]
    >
    >I would like to know how do i go about it.
    >
    >i can provide the code, if my explaination is confusing.
    >
    >Please help me out.
    >
    >I appreciate any help/advice.
    >
    >--
    >Thank You,
    >Sean[/color]
Working...