Quote:
Originally Posted by DrBunchman
Hi rmurgia,
I'm not 100% clear on what you are trying to do. If you want to assign the value of the drop down to the variable strReportName then you can do so after your form has been submitted with
- <%
-
strReportName = Request("ReportName")
-
%>
If that doesn't help could you try to explain the problem again?
Thanks,
Dr B
Dr B,
Thanks for the reply. I guess I was not clear enough in my example. What I was trying to do was to show a dropdown which displays some information to the user, but stores different information in the variable. The current situation is where the user sees and employee # and employee name on the dropdown:
Emp # Emp Name
001 John Smith
002 Paul Jones
After the name Paul Jones is selected, I wanted to display Paul Jones in the field, but store 002 in the variable. Currently after the selection is made, the user sees 002 in the field and the name is no longer available:
Emp: 001
It seems that the only way to accomplish this would be to create another variable to hold the name and then display it as a non-updatable field after the selection is made:
Emp #: 001
Emp Name: Paul Jones