Question
Updating a database...ASP / VBS /Access
Hi Guys,
Id like to update a couple of fields in the database, in doing so it changes the location a file shows in a list of files..
Recently when i did this I pass the ID from one page to the update page which grabs the required record--allow the user to make the change via a form and hit update.
This works.
But now I have a list box that goes to a table in the database and brings back a field to display in the list. Now here I can set the value the list box returns but I need to grab the value returned and its ID
So my list box at run time shows a list.... Boys > Girls etc etc and the values I need are the strings it returns in its list 'Boys' or 'Girls' as well as their ID values in the table.
The list box only allows me to return one value?,
Any suggestions would be welcomes, my only thoughts would be to start a 3rd page that gets the valuse past to it and grab the other needed ID then do the update but that means asking the user to click a further button to do this eh?
Thanks for any thoughts.
Tag
Id like to update a couple of fields in the database, in doing so it changes the location a file shows in a list of files..
Recently when i did this I pass the ID from one page to the update page which grabs the required record--allow the user to make the change via a form and hit update.
This works.
But now I have a list box that goes to a table in the database and brings back a field to display in the list. Now here I can set the value the list box returns but I need to grab the value returned and its ID
So my list box at run time shows a list.... Boys > Girls etc etc and the values I need are the strings it returns in its list 'Boys' or 'Girls' as well as their ID values in the table.
The list box only allows me to return one value?,
Any suggestions would be welcomes, my only thoughts would be to start a 3rd page that gets the valuse past to it and grab the other needed ID then do the update but that means asking the user to click a further button to do this eh?
Thanks for any thoughts.
Tag