JonathanG6SWJ
Programmer
Hi
I have an asp page that displays the results of a DB query in a simple table.
I am using a submit button within the table and setting its value to FirstName&SurName of the person. So I end up with one button for each persons name. The value (name of person) of the button is then posted to another page when a button is hit. All this works fine. However I want to submit a personal_obj_no (unique numerical ID) to the next page not their name (cause I'm bound to end up with two or more identical names at some stage). The button needs to display the persons name.
How can I submit one thing but display another from / on a submit button.
Is there an alterantive way to identify cursor position and hence cell value of a table?
Many thanks in advance.
Jonathan
I have an asp page that displays the results of a DB query in a simple table.
I am using a submit button within the table and setting its value to FirstName&SurName of the person. So I end up with one button for each persons name. The value (name of person) of the button is then posted to another page when a button is hit. All this works fine. However I want to submit a personal_obj_no (unique numerical ID) to the next page not their name (cause I'm bound to end up with two or more identical names at some stage). The button needs to display the persons name.
How can I submit one thing but display another from / on a submit button.
Is there an alterantive way to identify cursor position and hence cell value of a table?
Many thanks in advance.
Jonathan