Hi again!!
I am still working on drop down menu thing and I am wondering if this is possible....
What I want to do is create a script that retrieves info from a table in Access without having to reload the page. I don't really know that much about JS so I'm not sure if this is easy/difficult or even if it's possible.
I want to take the VALUE selected by the user from the drop down menu, send that to the script, have the script retrieve a description of the value from a table, and then have the script return that value to another text box in the page. To make it a little more concrete, let me explain the page I'm creating. I have a form that deals with tools. The user is entering new tool information. When he chooses a tool number from the drop down menu, the description of that tool is supposed to immediately pop up in a text box labelled "Mold Tool." Both of these fields (as well as about 20 others) are then sent to a database. Right now I have it set up so that the description pops up in the "Mold Tool" text box but in this case the value of "Tool Number" is the description. This is a problem because the value needs to be the tool number so that it can be sent to the database. SO, what I want to do is have an additional table where a script can retrieve the description using the tool number. Does this make sense?
Tool Number: MT0001
(this is a drop down menu, here the user has chosen MT001)
The script takes this number and gets "blah blah 1" from the table.
Tool_Numbers_Table
__________________
MT0001 - blah blah 1
MT0002 - blah blah 2
etc
Mold Tool: [description "blah blah 1" pops up here]
Then the description pops up automatically.
Someone suggested some server-side scripting but to be completely honest I don't really know how to do that!
If anyone has any tips, I'd be forever grateful!
I'm off to for the nite but I'll be checking in the morning.
Thanks!
Rupa
(sorry about the smiley obsession....i'm still new to them!)
I am still working on drop down menu thing and I am wondering if this is possible....
What I want to do is create a script that retrieves info from a table in Access without having to reload the page. I don't really know that much about JS so I'm not sure if this is easy/difficult or even if it's possible.
I want to take the VALUE selected by the user from the drop down menu, send that to the script, have the script retrieve a description of the value from a table, and then have the script return that value to another text box in the page. To make it a little more concrete, let me explain the page I'm creating. I have a form that deals with tools. The user is entering new tool information. When he chooses a tool number from the drop down menu, the description of that tool is supposed to immediately pop up in a text box labelled "Mold Tool." Both of these fields (as well as about 20 others) are then sent to a database. Right now I have it set up so that the description pops up in the "Mold Tool" text box but in this case the value of "Tool Number" is the description. This is a problem because the value needs to be the tool number so that it can be sent to the database. SO, what I want to do is have an additional table where a script can retrieve the description using the tool number. Does this make sense?
Tool Number: MT0001
(this is a drop down menu, here the user has chosen MT001)
The script takes this number and gets "blah blah 1" from the table.
Tool_Numbers_Table
__________________
MT0001 - blah blah 1
MT0002 - blah blah 2
etc
Mold Tool: [description "blah blah 1" pops up here]
Then the description pops up automatically.
Someone suggested some server-side scripting but to be completely honest I don't really know how to do that!
If anyone has any tips, I'd be forever grateful!
I'm off to for the nite but I'll be checking in the morning.
Thanks!
Rupa
(sorry about the smiley obsession....i'm still new to them!)